~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3588-toybrick-x0.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/rockchip/rk3588-toybrick-x0.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3588-toybrick-x0.dts (Version linux-6.11.7)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2024 Rockchip Electronics Co.      3  * Copyright (c) 2024 Rockchip Electronics Co., Ltd.
  4  *                                                  4  *
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include <dt-bindings/gpio/gpio.h>                  9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/input.h>               10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/pinctrl/rockchip.h>          11 #include <dt-bindings/pinctrl/rockchip.h>
 12 #include "rk3588.dtsi"                             12 #include "rk3588.dtsi"
 13                                                    13 
 14 / {                                                14 / {
 15         model = "Rockchip Toybrick TB-RK3588X      15         model = "Rockchip Toybrick TB-RK3588X Board";
 16         compatible = "rockchip,rk3588-toybrick     16         compatible = "rockchip,rk3588-toybrick-x0", "rockchip,rk3588";
 17                                                    17 
 18         aliases {                                  18         aliases {
 19                 mmc0 = &sdhci;                     19                 mmc0 = &sdhci;
 20         };                                         20         };
 21                                                    21 
 22         chosen {                                   22         chosen {
 23                 stdout-path = "serial2:1500000     23                 stdout-path = "serial2:1500000n8";
 24         };                                         24         };
 25                                                    25 
 26         adc-keys {                                 26         adc-keys {
 27                 compatible = "adc-keys";           27                 compatible = "adc-keys";
 28                 io-channels = <&saradc 1>;         28                 io-channels = <&saradc 1>;
 29                 io-channel-names = "buttons";      29                 io-channel-names = "buttons";
 30                 keyup-threshold-microvolt = <1     30                 keyup-threshold-microvolt = <1800000>;
 31                 poll-interval = <100>;             31                 poll-interval = <100>;
 32                                                    32 
 33                 button-vol-up {                    33                 button-vol-up {
 34                         label = "Volume Up";       34                         label = "Volume Up";
 35                         linux,code = <KEY_VOLU     35                         linux,code = <KEY_VOLUMEUP>;
 36                         press-threshold-microv     36                         press-threshold-microvolt = <17000>;
 37                 };                                 37                 };
 38                                                    38 
 39                 button-vol-down {                  39                 button-vol-down {
 40                         label = "Volume Down";     40                         label = "Volume Down";
 41                         linux,code = <KEY_VOLU     41                         linux,code = <KEY_VOLUMEDOWN>;
 42                         press-threshold-microv     42                         press-threshold-microvolt = <417000>;
 43                 };                                 43                 };
 44                                                    44 
 45                 button-menu {                      45                 button-menu {
 46                         label = "Menu";            46                         label = "Menu";
 47                         linux,code = <KEY_MENU     47                         linux,code = <KEY_MENU>;
 48                         press-threshold-microv     48                         press-threshold-microvolt = <890000>;
 49                 };                                 49                 };
 50                                                    50 
 51                 button-escape {                    51                 button-escape {
 52                         label = "Escape";          52                         label = "Escape";
 53                         linux,code = <KEY_ESC>     53                         linux,code = <KEY_ESC>;
 54                         press-threshold-microv     54                         press-threshold-microvolt = <1235000>;
 55                 };                                 55                 };
 56         };                                         56         };
 57                                                    57 
 58         backlight: backlight {                     58         backlight: backlight {
 59                 compatible = "pwm-backlight";      59                 compatible = "pwm-backlight";
 60                 power-supply = <&vcc12v_dcin>;     60                 power-supply = <&vcc12v_dcin>;
 61                 pwms = <&pwm2 0 25000 0>;          61                 pwms = <&pwm2 0 25000 0>;
 62         };                                         62         };
 63                                                    63 
 64         pcie20_avdd0v85: pcie20-avdd0v85-regul     64         pcie20_avdd0v85: pcie20-avdd0v85-regulator {
 65                 compatible = "regulator-fixed"     65                 compatible = "regulator-fixed";
 66                 regulator-name = "pcie20_avdd0     66                 regulator-name = "pcie20_avdd0v85";
 67                 regulator-always-on;               67                 regulator-always-on;
 68                 regulator-boot-on;                 68                 regulator-boot-on;
 69                 regulator-min-microvolt = <850     69                 regulator-min-microvolt = <850000>;
 70                 regulator-max-microvolt = <850     70                 regulator-max-microvolt = <850000>;
 71                 vin-supply = <&vdd_0v85_s0>;       71                 vin-supply = <&vdd_0v85_s0>;
 72         };                                         72         };
 73                                                    73 
 74         pcie20_avdd1v8: pcie20-avdd1v8-regulat     74         pcie20_avdd1v8: pcie20-avdd1v8-regulator {
 75                 compatible = "regulator-fixed"     75                 compatible = "regulator-fixed";
 76                 regulator-name = "pcie20_avdd1     76                 regulator-name = "pcie20_avdd1v8";
 77                 regulator-always-on;               77                 regulator-always-on;
 78                 regulator-boot-on;                 78                 regulator-boot-on;
 79                 regulator-min-microvolt = <180     79                 regulator-min-microvolt = <1800000>;
 80                 regulator-max-microvolt = <180     80                 regulator-max-microvolt = <1800000>;
 81                 vin-supply = <&avcc_1v8_s0>;       81                 vin-supply = <&avcc_1v8_s0>;
 82         };                                         82         };
 83                                                    83 
 84         pcie30_avdd0v75: pcie30-avdd0v75-regul     84         pcie30_avdd0v75: pcie30-avdd0v75-regulator {
 85                 compatible = "regulator-fixed"     85                 compatible = "regulator-fixed";
 86                 regulator-name = "pcie30_avdd0     86                 regulator-name = "pcie30_avdd0v75";
 87                 regulator-always-on;               87                 regulator-always-on;
 88                 regulator-boot-on;                 88                 regulator-boot-on;
 89                 regulator-min-microvolt = <750     89                 regulator-min-microvolt = <750000>;
 90                 regulator-max-microvolt = <750     90                 regulator-max-microvolt = <750000>;
 91                 vin-supply = <&avdd_0v75_s0>;      91                 vin-supply = <&avdd_0v75_s0>;
 92         };                                         92         };
 93                                                    93 
 94         pcie30_avdd1v8: pcie30-avdd1v8-regulat     94         pcie30_avdd1v8: pcie30-avdd1v8-regulator {
 95                 compatible = "regulator-fixed"     95                 compatible = "regulator-fixed";
 96                 regulator-name = "pcie30_avdd1     96                 regulator-name = "pcie30_avdd1v8";
 97                 regulator-always-on;               97                 regulator-always-on;
 98                 regulator-boot-on;                 98                 regulator-boot-on;
 99                 regulator-min-microvolt = <180     99                 regulator-min-microvolt = <1800000>;
100                 regulator-max-microvolt = <180    100                 regulator-max-microvolt = <1800000>;
101                 vin-supply = <&avcc_1v8_s0>;      101                 vin-supply = <&avcc_1v8_s0>;
102         };                                        102         };
103                                                   103 
104         vcc12v_dcin: vcc12v-dcin-regulator {      104         vcc12v_dcin: vcc12v-dcin-regulator {
105                 compatible = "regulator-fixed"    105                 compatible = "regulator-fixed";
106                 regulator-name = "vcc12v_dcin"    106                 regulator-name = "vcc12v_dcin";
107                 regulator-always-on;              107                 regulator-always-on;
108                 regulator-boot-on;                108                 regulator-boot-on;
109                 regulator-min-microvolt = <120    109                 regulator-min-microvolt = <12000000>;
110                 regulator-max-microvolt = <120    110                 regulator-max-microvolt = <12000000>;
111         };                                        111         };
112                                                   112 
113         vcc5v0_host: vcc5v0-host-regulator {      113         vcc5v0_host: vcc5v0-host-regulator {
114                 compatible = "regulator-fixed"    114                 compatible = "regulator-fixed";
115                 enable-active-high;               115                 enable-active-high;
116                 gpio = <&gpio4 RK_PB0 GPIO_ACT    116                 gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
117                 pinctrl-names = "default";        117                 pinctrl-names = "default";
118                 pinctrl-0 = <&vcc5v0_host_en>;    118                 pinctrl-0 = <&vcc5v0_host_en>;
119                 regulator-name = "vcc5v0_host"    119                 regulator-name = "vcc5v0_host";
120                 regulator-boot-on;                120                 regulator-boot-on;
121                 regulator-always-on;              121                 regulator-always-on;
122                 regulator-min-microvolt = <500    122                 regulator-min-microvolt = <5000000>;
123                 regulator-max-microvolt = <500    123                 regulator-max-microvolt = <5000000>;
124                 vin-supply = <&vcc5v0_usb>;       124                 vin-supply = <&vcc5v0_usb>;
125         };                                        125         };
126                                                   126 
127         vcc5v0_sys: vcc5v0-sys-regulator {        127         vcc5v0_sys: vcc5v0-sys-regulator {
128                 compatible = "regulator-fixed"    128                 compatible = "regulator-fixed";
129                 regulator-name = "vcc5v0_sys";    129                 regulator-name = "vcc5v0_sys";
130                 regulator-always-on;              130                 regulator-always-on;
131                 regulator-boot-on;                131                 regulator-boot-on;
132                 regulator-min-microvolt = <500    132                 regulator-min-microvolt = <5000000>;
133                 regulator-max-microvolt = <500    133                 regulator-max-microvolt = <5000000>;
134                 vin-supply = <&vcc12v_dcin>;      134                 vin-supply = <&vcc12v_dcin>;
135         };                                        135         };
136                                                   136 
137         vcc5v0_usbdcin: vcc5v0-usbdcin-regulat    137         vcc5v0_usbdcin: vcc5v0-usbdcin-regulator {
138                 compatible = "regulator-fixed"    138                 compatible = "regulator-fixed";
139                 regulator-name = "vcc5v0_usbdc    139                 regulator-name = "vcc5v0_usbdcin";
140                 regulator-always-on;              140                 regulator-always-on;
141                 regulator-boot-on;                141                 regulator-boot-on;
142                 regulator-min-microvolt = <500    142                 regulator-min-microvolt = <5000000>;
143                 regulator-max-microvolt = <500    143                 regulator-max-microvolt = <5000000>;
144                 vin-supply = <&vcc12v_dcin>;      144                 vin-supply = <&vcc12v_dcin>;
145         };                                        145         };
146                                                   146 
147         vcc5v0_usb: vcc5v0-usb-regulator {        147         vcc5v0_usb: vcc5v0-usb-regulator {
148                 compatible = "regulator-fixed"    148                 compatible = "regulator-fixed";
149                 regulator-name = "vcc5v0_usb";    149                 regulator-name = "vcc5v0_usb";
150                 regulator-always-on;              150                 regulator-always-on;
151                 regulator-boot-on;                151                 regulator-boot-on;
152                 regulator-min-microvolt = <500    152                 regulator-min-microvolt = <5000000>;
153                 regulator-max-microvolt = <500    153                 regulator-max-microvolt = <5000000>;
154                 vin-supply = <&vcc5v0_usbdcin>    154                 vin-supply = <&vcc5v0_usbdcin>;
155         };                                        155         };
156                                                   156 
157         vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regul    157         vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
158                 compatible = "regulator-fixed"    158                 compatible = "regulator-fixed";
159                 regulator-name = "vcc_1v1_nldo    159                 regulator-name = "vcc_1v1_nldo_s3";
160                 regulator-always-on;              160                 regulator-always-on;
161                 regulator-boot-on;                161                 regulator-boot-on;
162                 regulator-min-microvolt = <110    162                 regulator-min-microvolt = <1100000>;
163                 regulator-max-microvolt = <110    163                 regulator-max-microvolt = <1100000>;
164                 vin-supply = <&vcc5v0_sys>;       164                 vin-supply = <&vcc5v0_sys>;
165         };                                        165         };
166 };                                                166 };
167                                                   167 
168 &combphy0_ps {                                    168 &combphy0_ps {
169         status = "okay";                          169         status = "okay";
170 };                                                170 };
171                                                   171 
172 &combphy2_psu {                                   172 &combphy2_psu {
173         status = "okay";                          173         status = "okay";
174 };                                                174 };
175                                                   175 
176 &cpu_b0 {                                         176 &cpu_b0 {
177         cpu-supply = <&vdd_cpu_big0_s0>;          177         cpu-supply = <&vdd_cpu_big0_s0>;
178 };                                                178 };
179                                                   179 
180 &cpu_b1 {                                         180 &cpu_b1 {
181         cpu-supply = <&vdd_cpu_big0_s0>;          181         cpu-supply = <&vdd_cpu_big0_s0>;
182 };                                                182 };
183                                                   183 
184 &cpu_b2 {                                         184 &cpu_b2 {
185         cpu-supply = <&vdd_cpu_big1_s0>;          185         cpu-supply = <&vdd_cpu_big1_s0>;
186 };                                                186 };
187                                                   187 
188 &cpu_b3 {                                         188 &cpu_b3 {
189         cpu-supply = <&vdd_cpu_big1_s0>;          189         cpu-supply = <&vdd_cpu_big1_s0>;
190 };                                                190 };
191                                                   191 
192 &cpu_l0 {                                         192 &cpu_l0 {
193         cpu-supply = <&vdd_cpu_lit_s0>;           193         cpu-supply = <&vdd_cpu_lit_s0>;
194 };                                                194 };
195                                                   195 
196 &cpu_l1 {                                         196 &cpu_l1 {
197         cpu-supply = <&vdd_cpu_lit_s0>;           197         cpu-supply = <&vdd_cpu_lit_s0>;
198 };                                                198 };
199                                                   199 
200 &cpu_l2 {                                         200 &cpu_l2 {
201         cpu-supply = <&vdd_cpu_lit_s0>;           201         cpu-supply = <&vdd_cpu_lit_s0>;
202 };                                                202 };
203                                                   203 
204 &cpu_l3 {                                         204 &cpu_l3 {
205         cpu-supply = <&vdd_cpu_lit_s0>;           205         cpu-supply = <&vdd_cpu_lit_s0>;
206 };                                                206 };
207                                                   207 
208 &gmac0 {                                          208 &gmac0 {
209         clock_in_out = "output";                  209         clock_in_out = "output";
210         phy-handle = <&rgmii_phy>;                210         phy-handle = <&rgmii_phy>;
211         phy-mode = "rgmii-rxid";                  211         phy-mode = "rgmii-rxid";
212         pinctrl-0 = <&gmac0_miim                  212         pinctrl-0 = <&gmac0_miim
213                      &gmac0_tx_bus2               213                      &gmac0_tx_bus2
214                      &gmac0_rx_bus2               214                      &gmac0_rx_bus2
215                      &gmac0_rgmii_clk             215                      &gmac0_rgmii_clk
216                      &gmac0_rgmii_bus>;           216                      &gmac0_rgmii_bus>;
217         pinctrl-names = "default";                217         pinctrl-names = "default";
218         rx_delay = <0x00>;                        218         rx_delay = <0x00>;
219         tx_delay = <0x43>;                        219         tx_delay = <0x43>;
220         status = "okay";                          220         status = "okay";
221 };                                                221 };
222                                                   222 
223 &i2c0 {                                           223 &i2c0 {
224         pinctrl-names = "default";                224         pinctrl-names = "default";
225         pinctrl-0 = <&i2c0m2_xfer>;               225         pinctrl-0 = <&i2c0m2_xfer>;
226         status = "okay";                          226         status = "okay";
227                                                   227 
228         vdd_cpu_big0_s0: regulator@42 {           228         vdd_cpu_big0_s0: regulator@42 {
229                 compatible = "rockchip,rk8602"    229                 compatible = "rockchip,rk8602";
230                 reg = <0x42>;                     230                 reg = <0x42>;
231                 fcs,suspend-voltage-selector =    231                 fcs,suspend-voltage-selector = <1>;
232                 regulator-name = "vdd_cpu_big0    232                 regulator-name = "vdd_cpu_big0_s0";
233                 regulator-always-on;              233                 regulator-always-on;
234                 regulator-boot-on;                234                 regulator-boot-on;
235                 regulator-min-microvolt = <550    235                 regulator-min-microvolt = <550000>;
236                 regulator-max-microvolt = <105    236                 regulator-max-microvolt = <1050000>;
237                 regulator-ramp-delay = <2300>;    237                 regulator-ramp-delay = <2300>;
238                 vin-supply = <&vcc5v0_sys>;       238                 vin-supply = <&vcc5v0_sys>;
239                                                   239 
240                 regulator-state-mem {             240                 regulator-state-mem {
241                         regulator-off-in-suspe    241                         regulator-off-in-suspend;
242                 };                                242                 };
243         };                                        243         };
244                                                   244 
245         vdd_cpu_big1_s0: regulator@43 {           245         vdd_cpu_big1_s0: regulator@43 {
246                 compatible = "rockchip,rk8603"    246                 compatible = "rockchip,rk8603", "rockchip,rk8602";
247                 reg = <0x43>;                     247                 reg = <0x43>;
248                 fcs,suspend-voltage-selector =    248                 fcs,suspend-voltage-selector = <1>;
249                 regulator-name = "vdd_cpu_big1    249                 regulator-name = "vdd_cpu_big1_s0";
250                 regulator-always-on;              250                 regulator-always-on;
251                 regulator-boot-on;                251                 regulator-boot-on;
252                 regulator-min-microvolt = <550    252                 regulator-min-microvolt = <550000>;
253                 regulator-max-microvolt = <105    253                 regulator-max-microvolt = <1050000>;
254                 regulator-ramp-delay = <2300>;    254                 regulator-ramp-delay = <2300>;
255                 vin-supply = <&vcc5v0_sys>;       255                 vin-supply = <&vcc5v0_sys>;
256                                                   256 
257                 regulator-state-mem {             257                 regulator-state-mem {
258                         regulator-off-in-suspe    258                         regulator-off-in-suspend;
259                 };                                259                 };
260         };                                        260         };
261 };                                                261 };
262                                                   262 
263 &i2c2 {                                           263 &i2c2 {
264         status = "okay";                          264         status = "okay";
265                                                   265 
266         hym8563: rtc@51 {                         266         hym8563: rtc@51 {
267                 compatible = "haoyu,hym8563";     267                 compatible = "haoyu,hym8563";
268                 reg = <0x51>;                     268                 reg = <0x51>;
269                 #clock-cells = <0>;               269                 #clock-cells = <0>;
270                 clock-output-names = "hym8563"    270                 clock-output-names = "hym8563";
271                 interrupt-parent = <&gpio0>;      271                 interrupt-parent = <&gpio0>;
272                 interrupts = <RK_PD4 IRQ_TYPE_    272                 interrupts = <RK_PD4 IRQ_TYPE_LEVEL_LOW>;
273                 pinctrl-names = "default";        273                 pinctrl-names = "default";
274                 pinctrl-0 = <&hym8563_int>;       274                 pinctrl-0 = <&hym8563_int>;
275                 wakeup-source;                    275                 wakeup-source;
276         };                                        276         };
277 };                                                277 };
278                                                   278 
279 &mdio0 {                                          279 &mdio0 {
280         rgmii_phy: ethernet-phy@1 {               280         rgmii_phy: ethernet-phy@1 {
281                 /* RTL8211F */                    281                 /* RTL8211F */
282                 compatible = "ethernet-phy-id0    282                 compatible = "ethernet-phy-id001c.c916";
283                 reg = <0x1>;                      283                 reg = <0x1>;
284                 pinctrl-names = "default";        284                 pinctrl-names = "default";
285                 pinctrl-0 = <&rtl8211f_rst>;      285                 pinctrl-0 = <&rtl8211f_rst>;
286                 reset-assert-us = <20000>;        286                 reset-assert-us = <20000>;
287                 reset-deassert-us = <100000>;     287                 reset-deassert-us = <100000>;
288                 reset-gpios = <&gpio4 RK_PB3 G    288                 reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
289         };                                        289         };
290 };                                                290 };
291                                                   291 
292 &pinctrl {                                        292 &pinctrl {
293         rtl8211f {                                293         rtl8211f {
294                 rtl8211f_rst: rtl8211f-rst {      294                 rtl8211f_rst: rtl8211f-rst {
295                         rockchip,pins = <4 RK_    295                         rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
296                 };                                296                 };
297                                                   297 
298         };                                        298         };
299                                                   299 
300         hym8563 {                                 300         hym8563 {
301                 hym8563_int: hym8563-int {        301                 hym8563_int: hym8563-int {
302                         rockchip,pins = <0 RK_    302                         rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
303                 };                                303                 };
304         };                                        304         };
305                                                   305 
306         usb {                                     306         usb {
307                 vcc5v0_host_en: vcc5v0-host-en    307                 vcc5v0_host_en: vcc5v0-host-en {
308                         rockchip,pins = <4 RK_    308                         rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
309                 };                                309                 };
310         };                                        310         };
311 };                                                311 };
312                                                   312 
313 &pwm2 {                                           313 &pwm2 {
314         status = "okay";                          314         status = "okay";
315 };                                                315 };
316                                                   316 
317 &saradc {                                         317 &saradc {
318         vref-supply = <&vcc_1v8_s0>;              318         vref-supply = <&vcc_1v8_s0>;
319         status = "okay";                          319         status = "okay";
320 };                                                320 };
321                                                   321 
322 &sdhci {                                          322 &sdhci {
323         bus-width = <8>;                          323         bus-width = <8>;
324         mmc-hs400-1_8v;                           324         mmc-hs400-1_8v;
325         mmc-hs400-enhanced-strobe;                325         mmc-hs400-enhanced-strobe;
326         no-sdio;                                  326         no-sdio;
327         no-sd;                                    327         no-sd;
328         non-removable;                            328         non-removable;
329         status = "okay";                          329         status = "okay";
330 };                                                330 };
331                                                   331 
332 &spi2 {                                           332 &spi2 {
333         assigned-clocks = <&cru CLK_SPI2>;        333         assigned-clocks = <&cru CLK_SPI2>;
334         assigned-clock-rates = <200000000>;       334         assigned-clock-rates = <200000000>;
335         num-cs = <1>;                             335         num-cs = <1>;
336         pinctrl-names = "default";                336         pinctrl-names = "default";
337         pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>    337         pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
338         status = "okay";                          338         status = "okay";
339                                                   339 
340         pmic@0 {                                  340         pmic@0 {
341                 compatible = "rockchip,rk806";    341                 compatible = "rockchip,rk806";
342                 reg = <0x0>;                      342                 reg = <0x0>;
343                 gpio-controller;                  343                 gpio-controller;
344                 #gpio-cells = <2>;                344                 #gpio-cells = <2>;
345                 interrupt-parent = <&gpio0>;      345                 interrupt-parent = <&gpio0>;
346                 interrupts = <7 IRQ_TYPE_LEVEL    346                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
347                 pinctrl-names = "default";        347                 pinctrl-names = "default";
348                 pinctrl-0 = <&pmic_pins>, <&rk    348                 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
349                             <&rk806_dvs2_null>    349                             <&rk806_dvs2_null>, <&rk806_dvs3_null>;
350                 spi-max-frequency = <1000000>;    350                 spi-max-frequency = <1000000>;
351                 system-power-controller;          351                 system-power-controller;
352                                                   352 
353                 vcc1-supply = <&vcc5v0_sys>;      353                 vcc1-supply = <&vcc5v0_sys>;
354                 vcc2-supply = <&vcc5v0_sys>;      354                 vcc2-supply = <&vcc5v0_sys>;
355                 vcc3-supply = <&vcc5v0_sys>;      355                 vcc3-supply = <&vcc5v0_sys>;
356                 vcc4-supply = <&vcc5v0_sys>;      356                 vcc4-supply = <&vcc5v0_sys>;
357                 vcc5-supply = <&vcc5v0_sys>;      357                 vcc5-supply = <&vcc5v0_sys>;
358                 vcc6-supply = <&vcc5v0_sys>;      358                 vcc6-supply = <&vcc5v0_sys>;
359                 vcc7-supply = <&vcc5v0_sys>;      359                 vcc7-supply = <&vcc5v0_sys>;
360                 vcc8-supply = <&vcc5v0_sys>;      360                 vcc8-supply = <&vcc5v0_sys>;
361                 vcc9-supply = <&vcc5v0_sys>;      361                 vcc9-supply = <&vcc5v0_sys>;
362                 vcc10-supply = <&vcc5v0_sys>;     362                 vcc10-supply = <&vcc5v0_sys>;
363                 vcc11-supply = <&vcc_2v0_pldo_    363                 vcc11-supply = <&vcc_2v0_pldo_s3>;
364                 vcc12-supply = <&vcc5v0_sys>;     364                 vcc12-supply = <&vcc5v0_sys>;
365                 vcc13-supply = <&vcc_1v1_nldo_    365                 vcc13-supply = <&vcc_1v1_nldo_s3>;
366                 vcc14-supply = <&vcc_1v1_nldo_    366                 vcc14-supply = <&vcc_1v1_nldo_s3>;
367                 vcca-supply = <&vcc5v0_sys>;      367                 vcca-supply = <&vcc5v0_sys>;
368                                                   368 
369                 rk806_dvs1_null: dvs1-null-pin    369                 rk806_dvs1_null: dvs1-null-pins {
370                         pins = "gpio_pwrctrl1"    370                         pins = "gpio_pwrctrl1";
371                         function = "pin_fun0";    371                         function = "pin_fun0";
372                 };                                372                 };
373                                                   373 
374                 rk806_dvs2_null: dvs2-null-pin    374                 rk806_dvs2_null: dvs2-null-pins {
375                         pins = "gpio_pwrctrl2"    375                         pins = "gpio_pwrctrl2";
376                         function = "pin_fun0";    376                         function = "pin_fun0";
377                 };                                377                 };
378                                                   378 
379                 rk806_dvs3_null: dvs3-null-pin    379                 rk806_dvs3_null: dvs3-null-pins {
380                         pins = "gpio_pwrctrl3"    380                         pins = "gpio_pwrctrl3";
381                         function = "pin_fun0";    381                         function = "pin_fun0";
382                 };                                382                 };
383                                                   383 
384                 regulators {                      384                 regulators {
385                         vdd_gpu_s0: vdd_gpu_me    385                         vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 {
386                                 regulator-name    386                                 regulator-name = "vdd_gpu_s0";
387                                 regulator-boot    387                                 regulator-boot-on;
388                                 regulator-enab    388                                 regulator-enable-ramp-delay = <400>;
389                                 regulator-min-    389                                 regulator-min-microvolt = <550000>;
390                                 regulator-max-    390                                 regulator-max-microvolt = <950000>;
391                                 regulator-ramp    391                                 regulator-ramp-delay = <12500>;
392                                                   392 
393                                 regulator-stat    393                                 regulator-state-mem {
394                                         regula    394                                         regulator-off-in-suspend;
395                                 };                395                                 };
396                         };                        396                         };
397                                                   397 
398                         vdd_cpu_lit_s0: vdd_cp    398                         vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 {
399                                 regulator-name    399                                 regulator-name = "vdd_cpu_lit_s0";
400                                 regulator-alwa    400                                 regulator-always-on;
401                                 regulator-boot    401                                 regulator-boot-on;
402                                 regulator-min-    402                                 regulator-min-microvolt = <550000>;
403                                 regulator-max-    403                                 regulator-max-microvolt = <950000>;
404                                 regulator-ramp    404                                 regulator-ramp-delay = <12500>;
405                                                   405 
406                                 regulator-stat    406                                 regulator-state-mem {
407                                         regula    407                                         regulator-off-in-suspend;
408                                 };                408                                 };
409                         };                        409                         };
410                                                   410 
411                         vdd_log_s0: dcdc-reg3     411                         vdd_log_s0: dcdc-reg3 {
412                                 regulator-name    412                                 regulator-name = "vdd_log_s0";
413                                 regulator-alwa    413                                 regulator-always-on;
414                                 regulator-boot    414                                 regulator-boot-on;
415                                 regulator-min-    415                                 regulator-min-microvolt = <675000>;
416                                 regulator-max-    416                                 regulator-max-microvolt = <750000>;
417                                 regulator-ramp    417                                 regulator-ramp-delay = <12500>;
418                                                   418 
419                                 regulator-stat    419                                 regulator-state-mem {
420                                         regula    420                                         regulator-off-in-suspend;
421                                         regula    421                                         regulator-suspend-microvolt = <750000>;
422                                 };                422                                 };
423                         };                        423                         };
424                                                   424 
425                         vdd_vdenc_s0: vdd_vden    425                         vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 {
426                                 regulator-name    426                                 regulator-name = "vdd_vdenc_s0";
427                                 regulator-alwa    427                                 regulator-always-on;
428                                 regulator-boot    428                                 regulator-boot-on;
429                                 regulator-min-    429                                 regulator-min-microvolt = <550000>;
430                                 regulator-max-    430                                 regulator-max-microvolt = <950000>;
                                                   >> 431                                 regulator-init-microvolt = <750000>;
431                                 regulator-ramp    432                                 regulator-ramp-delay = <12500>;
432                                                   433 
433                                 regulator-stat    434                                 regulator-state-mem {
434                                         regula    435                                         regulator-off-in-suspend;
435                                 };                436                                 };
436                         };                        437                         };
437                                                   438 
438                         vdd_ddr_s0: dcdc-reg5     439                         vdd_ddr_s0: dcdc-reg5 {
439                                 regulator-name    440                                 regulator-name = "vdd_ddr_s0";
440                                 regulator-alwa    441                                 regulator-always-on;
441                                 regulator-boot    442                                 regulator-boot-on;
442                                 regulator-min-    443                                 regulator-min-microvolt = <675000>;
443                                 regulator-max-    444                                 regulator-max-microvolt = <900000>;
444                                 regulator-ramp    445                                 regulator-ramp-delay = <12500>;
445                                                   446 
446                                 regulator-stat    447                                 regulator-state-mem {
447                                         regula    448                                         regulator-off-in-suspend;
448                                         regula    449                                         regulator-suspend-microvolt = <850000>;
449                                 };                450                                 };
450                         };                        451                         };
451                                                   452 
452                         vdd2_ddr_s3: dcdc-reg6    453                         vdd2_ddr_s3: dcdc-reg6 {
453                                 regulator-name    454                                 regulator-name = "vdd2_ddr_s3";
454                                 regulator-alwa    455                                 regulator-always-on;
455                                 regulator-boot    456                                 regulator-boot-on;
456                                                   457 
457                                 regulator-stat    458                                 regulator-state-mem {
458                                         regula    459                                         regulator-on-in-suspend;
459                                 };                460                                 };
460                         };                        461                         };
461                                                   462 
462                         vcc_2v0_pldo_s3: dcdc-    463                         vcc_2v0_pldo_s3: dcdc-reg7 {
463                                 regulator-name    464                                 regulator-name = "vdd_2v0_pldo_s3";
464                                 regulator-alwa    465                                 regulator-always-on;
465                                 regulator-boot    466                                 regulator-boot-on;
466                                 regulator-min-    467                                 regulator-min-microvolt = <2000000>;
467                                 regulator-max-    468                                 regulator-max-microvolt = <2000000>;
468                                                   469 
469                                 regulator-stat    470                                 regulator-state-mem {
470                                         regula    471                                         regulator-on-in-suspend;
471                                         regula    472                                         regulator-suspend-microvolt = <2000000>;
472                                 };                473                                 };
473                         };                        474                         };
474                                                   475 
475                         vcc_3v3_s3: dcdc-reg8     476                         vcc_3v3_s3: dcdc-reg8 {
476                                 regulator-name    477                                 regulator-name = "vcc_3v3_s3";
477                                 regulator-alwa    478                                 regulator-always-on;
478                                 regulator-boot    479                                 regulator-boot-on;
479                                 regulator-min-    480                                 regulator-min-microvolt = <3300000>;
480                                 regulator-max-    481                                 regulator-max-microvolt = <3300000>;
481                                                   482 
482                                 regulator-stat    483                                 regulator-state-mem {
483                                         regula    484                                         regulator-on-in-suspend;
484                                         regula    485                                         regulator-suspend-microvolt = <3300000>;
485                                 };                486                                 };
486                         };                        487                         };
487                                                   488 
488                         vddq_ddr_s0: dcdc-reg9    489                         vddq_ddr_s0: dcdc-reg9 {
489                                 regulator-name    490                                 regulator-name = "vddq_ddr_s0";
490                                 regulator-alwa    491                                 regulator-always-on;
491                                 regulator-boot    492                                 regulator-boot-on;
492                                                   493 
493                                 regulator-stat    494                                 regulator-state-mem {
494                                         regula    495                                         regulator-off-in-suspend;
495                                 };                496                                 };
496                         };                        497                         };
497                                                   498 
498                         vcc_1v8_s3: dcdc-reg10    499                         vcc_1v8_s3: dcdc-reg10 {
499                                 regulator-name    500                                 regulator-name = "vcc_1v8_s3";
500                                 regulator-alwa    501                                 regulator-always-on;
501                                 regulator-boot    502                                 regulator-boot-on;
502                                 regulator-min-    503                                 regulator-min-microvolt = <1800000>;
503                                 regulator-max-    504                                 regulator-max-microvolt = <1800000>;
504                                                   505 
505                                 regulator-stat    506                                 regulator-state-mem {
506                                         regula    507                                         regulator-on-in-suspend;
507                                         regula    508                                         regulator-suspend-microvolt = <1800000>;
508                                 };                509                                 };
509                         };                        510                         };
510                                                   511 
511                         avcc_1v8_s0: pldo-reg1    512                         avcc_1v8_s0: pldo-reg1 {
512                                 regulator-name    513                                 regulator-name = "avcc_1v8_s0";
513                                 regulator-alwa    514                                 regulator-always-on;
514                                 regulator-boot    515                                 regulator-boot-on;
515                                 regulator-min-    516                                 regulator-min-microvolt = <1800000>;
516                                 regulator-max-    517                                 regulator-max-microvolt = <1800000>;
517                                                   518 
518                                 regulator-stat    519                                 regulator-state-mem {
519                                         regula    520                                         regulator-off-in-suspend;
520                                 };                521                                 };
521                         };                        522                         };
522                                                   523 
523                         vcc_1v8_s0: pldo-reg2     524                         vcc_1v8_s0: pldo-reg2 {
524                                 regulator-name    525                                 regulator-name = "vcc_1v8_s0";
525                                 regulator-alwa    526                                 regulator-always-on;
526                                 regulator-boot    527                                 regulator-boot-on;
527                                 regulator-min-    528                                 regulator-min-microvolt = <1800000>;
528                                 regulator-max-    529                                 regulator-max-microvolt = <1800000>;
529                                                   530 
530                                 regulator-stat    531                                 regulator-state-mem {
531                                         regula    532                                         regulator-off-in-suspend;
532                                         regula    533                                         regulator-suspend-microvolt = <1800000>;
533                                 };                534                                 };
534                         };                        535                         };
535                                                   536 
536                         avdd_1v2_s0: pldo-reg3    537                         avdd_1v2_s0: pldo-reg3 {
537                                 regulator-name    538                                 regulator-name = "avdd_1v2_s0";
538                                 regulator-alwa    539                                 regulator-always-on;
539                                 regulator-boot    540                                 regulator-boot-on;
540                                 regulator-min-    541                                 regulator-min-microvolt = <1200000>;
541                                 regulator-max-    542                                 regulator-max-microvolt = <1200000>;
542                                                   543 
543                                 regulator-stat    544                                 regulator-state-mem {
544                                         regula    545                                         regulator-off-in-suspend;
545                                 };                546                                 };
546                         };                        547                         };
547                                                   548 
548                         vcc_3v3_s0: pldo-reg4     549                         vcc_3v3_s0: pldo-reg4 {
549                                 regulator-name    550                                 regulator-name = "vcc_3v3_s0";
550                                 regulator-alwa    551                                 regulator-always-on;
551                                 regulator-boot    552                                 regulator-boot-on;
552                                 regulator-min-    553                                 regulator-min-microvolt = <3300000>;
553                                 regulator-max-    554                                 regulator-max-microvolt = <3300000>;
554                                                   555 
555                                 regulator-stat    556                                 regulator-state-mem {
556                                         regula    557                                         regulator-off-in-suspend;
557                                 };                558                                 };
558                         };                        559                         };
559                                                   560 
560                         vccio_sd_s0: pldo-reg5    561                         vccio_sd_s0: pldo-reg5 {
561                                 regulator-name    562                                 regulator-name = "vccio_sd_s0";
562                                 regulator-alwa    563                                 regulator-always-on;
563                                 regulator-boot    564                                 regulator-boot-on;
564                                 regulator-min-    565                                 regulator-min-microvolt = <1800000>;
565                                 regulator-max-    566                                 regulator-max-microvolt = <3300000>;
566                                                   567 
567                                 regulator-stat    568                                 regulator-state-mem {
568                                         regula    569                                         regulator-off-in-suspend;
569                                 };                570                                 };
570                         };                        571                         };
571                                                   572 
572                         pldo6_s3: pldo-reg6 {     573                         pldo6_s3: pldo-reg6 {
573                                 regulator-name    574                                 regulator-name = "pldo6_s3";
574                                 regulator-alwa    575                                 regulator-always-on;
575                                 regulator-boot    576                                 regulator-boot-on;
576                                 regulator-min-    577                                 regulator-min-microvolt = <1800000>;
577                                 regulator-max-    578                                 regulator-max-microvolt = <1800000>;
578                                                   579 
579                                 regulator-stat    580                                 regulator-state-mem {
580                                         regula    581                                         regulator-on-in-suspend;
581                                         regula    582                                         regulator-suspend-microvolt = <1800000>;
582                                 };                583                                 };
583                         };                        584                         };
584                                                   585 
585                         vdd_0v75_s3: nldo-reg1    586                         vdd_0v75_s3: nldo-reg1 {
586                                 regulator-name    587                                 regulator-name = "vdd_0v75_s3";
587                                 regulator-alwa    588                                 regulator-always-on;
588                                 regulator-boot    589                                 regulator-boot-on;
589                                 regulator-min-    590                                 regulator-min-microvolt = <750000>;
590                                 regulator-max-    591                                 regulator-max-microvolt = <750000>;
591                                                   592 
592                                 regulator-stat    593                                 regulator-state-mem {
593                                         regula    594                                         regulator-on-in-suspend;
594                                         regula    595                                         regulator-suspend-microvolt = <750000>;
595                                 };                596                                 };
596                         };                        597                         };
597                                                   598 
598                         vdd_ddr_pll_s0: nldo-r    599                         vdd_ddr_pll_s0: nldo-reg2 {
599                                 regulator-name    600                                 regulator-name = "vdd_ddr_pll_s0";
600                                 regulator-alwa    601                                 regulator-always-on;
601                                 regulator-boot    602                                 regulator-boot-on;
602                                 regulator-min-    603                                 regulator-min-microvolt = <850000>;
603                                 regulator-max-    604                                 regulator-max-microvolt = <850000>;
604                                                   605 
605                                 regulator-stat    606                                 regulator-state-mem {
606                                         regula    607                                         regulator-off-in-suspend;
607                                         regula    608                                         regulator-suspend-microvolt = <850000>;
608                                 };                609                                 };
609                         };                        610                         };
610                                                   611 
611                         avdd_0v75_s0: nldo-reg    612                         avdd_0v75_s0: nldo-reg3 {
612                                 regulator-name    613                                 regulator-name = "avdd_0v75_s0";
613                                 regulator-alwa    614                                 regulator-always-on;
614                                 regulator-boot    615                                 regulator-boot-on;
615                                 regulator-min-    616                                 regulator-min-microvolt = <837500>;
616                                 regulator-max-    617                                 regulator-max-microvolt = <837500>;
617                                                   618 
618                                 regulator-stat    619                                 regulator-state-mem {
619                                         regula    620                                         regulator-off-in-suspend;
620                                 };                621                                 };
621                         };                        622                         };
622                                                   623 
623                         vdd_0v85_s0: nldo-reg4    624                         vdd_0v85_s0: nldo-reg4 {
624                                 regulator-name    625                                 regulator-name = "vdd_0v85_s0";
625                                 regulator-alwa    626                                 regulator-always-on;
626                                 regulator-boot    627                                 regulator-boot-on;
627                                 regulator-min-    628                                 regulator-min-microvolt = <850000>;
628                                 regulator-max-    629                                 regulator-max-microvolt = <850000>;
629                                                   630 
630                                 regulator-stat    631                                 regulator-state-mem {
631                                         regula    632                                         regulator-off-in-suspend;
632                                 };                633                                 };
633                         };                        634                         };
634                                                   635 
635                         vdd_0v75_s0: nldo-reg5    636                         vdd_0v75_s0: nldo-reg5 {
636                                 regulator-name    637                                 regulator-name = "vdd_0v75_s0";
637                                 regulator-alwa    638                                 regulator-always-on;
638                                 regulator-boot    639                                 regulator-boot-on;
639                                 regulator-min-    640                                 regulator-min-microvolt = <750000>;
640                                 regulator-max-    641                                 regulator-max-microvolt = <750000>;
641                                                   642 
642                                 regulator-stat    643                                 regulator-state-mem {
643                                         regula    644                                         regulator-off-in-suspend;
644                                 };                645                                 };
645                         };                        646                         };
646                 };                                647                 };
647         };                                        648         };
648 };                                                649 };
649                                                   650 
650 &tsadc {                                          651 &tsadc {
651         status = "okay";                          652         status = "okay";
652 };                                                653 };
653                                                   654 
654 &u2phy2 {                                         655 &u2phy2 {
655         status = "okay";                          656         status = "okay";
656 };                                                657 };
657                                                   658 
658 &u2phy2_host {                                    659 &u2phy2_host {
659         phy-supply = <&vcc5v0_host>;              660         phy-supply = <&vcc5v0_host>;
660         status = "okay";                          661         status = "okay";
661 };                                                662 };
662                                                   663 
663 &u2phy3 {                                         664 &u2phy3 {
664         status = "okay";                          665         status = "okay";
665 };                                                666 };
666                                                   667 
667 &u2phy3_host {                                    668 &u2phy3_host {
668         phy-supply = <&vcc5v0_host>;              669         phy-supply = <&vcc5v0_host>;
669         status = "okay";                          670         status = "okay";
670 };                                                671 };
671                                                   672 
672 &uart2 {                                          673 &uart2 {
673         pinctrl-0 = <&uart2m0_xfer>;              674         pinctrl-0 = <&uart2m0_xfer>;
674         status = "okay";                          675         status = "okay";
675 };                                                676 };
676                                                   677 
677 &usb_host0_ehci {                                 678 &usb_host0_ehci {
678         status = "okay";                          679         status = "okay";
679 };                                                680 };
680                                                   681 
681 &usb_host0_ohci {                                 682 &usb_host0_ohci {
682         status = "okay";                          683         status = "okay";
683 };                                                684 };
684                                                   685 
685 &usb_host1_ehci {                                 686 &usb_host1_ehci {
686         status = "okay";                          687         status = "okay";
687 };                                                688 };
688                                                   689 
689 &usb_host1_ohci {                                 690 &usb_host1_ohci {
690         status = "okay";                          691         status = "okay";
691 };                                                692 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php