2 * Copyright (C) 2013 Philipp Zabel
4 * This file is licensed under the terms of the GNU General Public License
5 * version 2. This program is licensed "as is" without any warranty of any
6 * kind, whether express or implied.
13 model = "Zealz GK802";
14 compatible = "zealz,imx6q-gk802", "fsl,imx6q";
17 linux,stdout-path = &uart4;
21 reg = <0x10000000 0x40000000>;
25 compatible = "simple-bus";
29 reg_3p3v: regulator@0 {
30 compatible = "regulator-fixed";
32 regulator-name = "3P3V";
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
40 compatible = "gpio-keys";
44 gpios = <&gpio3 16 1>;
45 linux,code = <0x198>; /* KEY_RESTART */
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_i2c2>;
55 clock-frequency = <100000>;
58 /* SDMC DM2016 1024 bit EEPROM + 128 bit OTP */
60 compatible = "sdmc,dm2016";
65 /* External I2C via HDMI */
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_i2c3>;
69 clock-frequency = <100000>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&pinctrl_hog>;
80 /* Recovery button, active-low */
81 MX6QDL_PAD_EIM_D16__GPIO3_IO16 0x100b1
82 /* RTL8192CU enable GPIO, active-low */
83 MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x1b0b0
87 pinctrl_i2c2: i2c2grp {
89 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
90 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
94 pinctrl_i2c3: i2c3grp {
96 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
97 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
101 pinctrl_uart4: uart4grp {
103 MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
104 MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
108 pinctrl_usdhc3: usdhc3grp {
110 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
111 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
112 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
113 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
114 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
115 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
119 pinctrl_usdhc4: usdhc4grp {
121 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
122 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x10059
123 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
124 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
125 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
126 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
137 pinctrl-names = "default";
138 pinctrl-0 = <&pinctrl_uart4>;
142 /* External USB-A port (USBOTG) */
144 disable-over-current;
148 /* Internal USB port (USBH1), connected to RTL8192CU */
150 disable-over-current;
154 /* External microSD */
156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_usdhc3>;
159 cd-gpios = <&gpio6 11 0>;
160 vmmc-supply = <®_3p3v>;
164 /* Internal microSD */
166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_usdhc4>;
169 vmmc-supply = <®_3p3v>;