aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3188-radxarock.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/rk3188-radxarock.dts')
-rw-r--r--arch/arm/boot/dts/rk3188-radxarock.dts92
1 files changed, 86 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 171b610db709..15910c9ddbc7 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -65,6 +65,19 @@
65 pinctrl-0 = <&ir_recv_pin>; 65 pinctrl-0 = <&ir_recv_pin>;
66 }; 66 };
67 67
68 vcc_otg: usb-otg-regulator {
69 compatible = "regulator-fixed";
70 enable-active-high;
71 gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&otg_vbus_drv>;
74 regulator-name = "otg-vbus";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
77 regulator-always-on;
78 regulator-boot-on;
79 };
80
68 vcc_sd0: sdmmc-regulator { 81 vcc_sd0: sdmmc-regulator {
69 compatible = "regulator-fixed"; 82 compatible = "regulator-fixed";
70 regulator-name = "sdmmc-supply"; 83 regulator-name = "sdmmc-supply";
@@ -74,12 +87,52 @@
74 startup-delay-us = <100000>; 87 startup-delay-us = <100000>;
75 vin-supply = <&vcc_io>; 88 vin-supply = <&vcc_io>;
76 }; 89 };
90
91 vcc_host: usb-host-regulator {
92 compatible = "regulator-fixed";
93 enable-active-high;
94 gpio = <&gpio0 3 GPIO_ACTIVE_HIGH>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&host_vbus_drv>;
97 regulator-name = "host-pwr";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
100 regulator-always-on;
101 regulator-boot-on;
102 };
103};
104
105&emac {
106 status = "okay";
107
108 pinctrl-names = "default";
109 pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
110
111 phy = <&phy0>;
112 phy-supply = <&vcc_rmii>;
113
114 phy0: ethernet-phy@0 {
115 reg = <0>;
116 interrupt-parent = <&gpio3>;
117 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
118 };
77}; 119};
78 120
79&i2c1 { 121&i2c1 {
80 status = "okay"; 122 status = "okay";
81 clock-frequency = <400000>; 123 clock-frequency = <400000>;
82 124
125 rtc@51 {
126 compatible = "haoyu,hym8563";
127 reg = <0x51>;
128 interrupt-parent = <&gpio0>;
129 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&rtc_int>;
132 #clock-cells = <0>;
133 clock-output-names = "xin32k";
134 };
135
83 act8846: act8846@5a { 136 act8846: act8846@5a {
84 compatible = "active-semi,act8846"; 137 compatible = "active-semi,act8846";
85 reg = <0x5a>; 138 reg = <0x5a>;
@@ -149,7 +202,6 @@
149 regulator-name = "VCC_RMII"; 202 regulator-name = "VCC_RMII";
150 regulator-min-microvolt = <3300000>; 203 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>; 204 regulator-max-microvolt = <3300000>;
152 regulator-always-on;
153 }; 205 };
154 206
155 vccio_wl: REG10 { 207 vccio_wl: REG10 {
@@ -179,13 +231,12 @@
179&mmc0 { 231&mmc0 {
180 num-slots = <1>; 232 num-slots = <1>;
181 status = "okay"; 233 status = "okay";
234 pinctrl-names = "default";
235 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
182 vmmc-supply = <&vcc_sd0>; 236 vmmc-supply = <&vcc_sd0>;
183 237
184 slot@0 { 238 bus-width = <4>;
185 reg = <0>; 239 disable-wp;
186 bus-width = <4>;
187 disable-wp;
188 };
189}; 240};
190 241
191&pinctrl { 242&pinctrl {
@@ -199,11 +250,32 @@
199 }; 250 };
200 }; 251 };
201 252
253 hym8563 {
254 rtc_int: rtc-int {
255 rockchip,pins = <RK_GPIO0 0 RK_FUNC_GPIO &pcfg_pull_up>;
256 };
257 };
258
259 lan8720a {
260 phy_int: phy-int {
261 rockchip,pins = <RK_GPIO3 26 RK_FUNC_GPIO &pcfg_pull_up>;
262 };
263 };
264
202 ir-receiver { 265 ir-receiver {
203 ir_recv_pin: ir-recv-pin { 266 ir_recv_pin: ir-recv-pin {
204 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>; 267 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;
205 }; 268 };
206 }; 269 };
270
271 usb {
272 host_vbus_drv: host-vbus-drv {
273 rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>;
274 };
275 otg_vbus_drv: otg-vbus-drv {
276 rockchip,pins = <2 31 RK_FUNC_GPIO &pcfg_pull_none>;
277 };
278 };
207}; 279};
208 280
209&uart0 { 281&uart0 {
@@ -222,6 +294,14 @@
222 status = "okay"; 294 status = "okay";
223}; 295};
224 296
297&usb_host {
298 status = "okay";
299};
300
301&usb_otg {
302 status = "okay";
303};
304
225&wdt { 305&wdt {
226 status = "okay"; 306 status = "okay";
227}; 307};