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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3368.dtsi

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/rk3368.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3368.dtsi (Version linux-6.5.13)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2015 Heiko Stuebner <heiko@snt      3  * Copyright (c) 2015 Heiko Stuebner <heiko@sntech.de>
  4  */                                                 4  */
  5                                                     5 
  6 #include <dt-bindings/clock/rk3368-cru.h>           6 #include <dt-bindings/clock/rk3368-cru.h>
  7 #include <dt-bindings/gpio/gpio.h>                  7 #include <dt-bindings/gpio/gpio.h>
  8 #include <dt-bindings/interrupt-controller/irq      8 #include <dt-bindings/interrupt-controller/irq.h>
  9 #include <dt-bindings/interrupt-controller/arm      9 #include <dt-bindings/interrupt-controller/arm-gic.h>
 10 #include <dt-bindings/pinctrl/rockchip.h>          10 #include <dt-bindings/pinctrl/rockchip.h>
 11 #include <dt-bindings/power/rk3368-power.h>        11 #include <dt-bindings/power/rk3368-power.h>
 12 #include <dt-bindings/soc/rockchip,boot-mode.h     12 #include <dt-bindings/soc/rockchip,boot-mode.h>
 13 #include <dt-bindings/thermal/thermal.h>           13 #include <dt-bindings/thermal/thermal.h>
 14                                                    14 
 15 / {                                                15 / {
 16         compatible = "rockchip,rk3368";            16         compatible = "rockchip,rk3368";
 17         interrupt-parent = <&gic>;                 17         interrupt-parent = <&gic>;
 18         #address-cells = <2>;                      18         #address-cells = <2>;
 19         #size-cells = <2>;                         19         #size-cells = <2>;
 20                                                    20 
 21         aliases {                                  21         aliases {
 22                 gpio0 = &gpio0;                !!  22                 ethernet0 = &gmac;
 23                 gpio1 = &gpio1;                << 
 24                 gpio2 = &gpio2;                << 
 25                 gpio3 = &gpio3;                << 
 26                 i2c0 = &i2c0;                      23                 i2c0 = &i2c0;
 27                 i2c1 = &i2c1;                      24                 i2c1 = &i2c1;
 28                 i2c2 = &i2c2;                      25                 i2c2 = &i2c2;
 29                 i2c3 = &i2c3;                      26                 i2c3 = &i2c3;
 30                 i2c4 = &i2c4;                      27                 i2c4 = &i2c4;
 31                 i2c5 = &i2c5;                      28                 i2c5 = &i2c5;
 32                 serial0 = &uart0;                  29                 serial0 = &uart0;
 33                 serial1 = &uart1;                  30                 serial1 = &uart1;
 34                 serial2 = &uart2;                  31                 serial2 = &uart2;
 35                 serial3 = &uart3;                  32                 serial3 = &uart3;
 36                 serial4 = &uart4;                  33                 serial4 = &uart4;
 37                 spi0 = &spi0;                      34                 spi0 = &spi0;
 38                 spi1 = &spi1;                      35                 spi1 = &spi1;
 39                 spi2 = &spi2;                      36                 spi2 = &spi2;
 40         };                                         37         };
 41                                                    38 
 42         cpus {                                     39         cpus {
 43                 #address-cells = <0x2>;            40                 #address-cells = <0x2>;
 44                 #size-cells = <0x0>;               41                 #size-cells = <0x0>;
 45                                                    42 
 46                 cpu-map {                          43                 cpu-map {
 47                         cluster0 {                 44                         cluster0 {
 48                                 core0 {            45                                 core0 {
 49                                         cpu =      46                                         cpu = <&cpu_b0>;
 50                                 };                 47                                 };
 51                                 core1 {            48                                 core1 {
 52                                         cpu =      49                                         cpu = <&cpu_b1>;
 53                                 };                 50                                 };
 54                                 core2 {            51                                 core2 {
 55                                         cpu =      52                                         cpu = <&cpu_b2>;
 56                                 };                 53                                 };
 57                                 core3 {            54                                 core3 {
 58                                         cpu =      55                                         cpu = <&cpu_b3>;
 59                                 };                 56                                 };
 60                         };                         57                         };
 61                                                    58 
 62                         cluster1 {                 59                         cluster1 {
 63                                 core0 {            60                                 core0 {
 64                                         cpu =      61                                         cpu = <&cpu_l0>;
 65                                 };                 62                                 };
 66                                 core1 {            63                                 core1 {
 67                                         cpu =      64                                         cpu = <&cpu_l1>;
 68                                 };                 65                                 };
 69                                 core2 {            66                                 core2 {
 70                                         cpu =      67                                         cpu = <&cpu_l2>;
 71                                 };                 68                                 };
 72                                 core3 {            69                                 core3 {
 73                                         cpu =      70                                         cpu = <&cpu_l3>;
 74                                 };                 71                                 };
 75                         };                         72                         };
 76                 };                                 73                 };
 77                                                    74 
 78                 cpu_l0: cpu@0 {                    75                 cpu_l0: cpu@0 {
 79                         device_type = "cpu";       76                         device_type = "cpu";
 80                         compatible = "arm,cort     77                         compatible = "arm,cortex-a53";
 81                         reg = <0x0 0x0>;           78                         reg = <0x0 0x0>;
 82                         enable-method = "psci"     79                         enable-method = "psci";
 83                         #cooling-cells = <2>;      80                         #cooling-cells = <2>; /* min followed by max */
 84                 };                                 81                 };
 85                                                    82 
 86                 cpu_l1: cpu@1 {                    83                 cpu_l1: cpu@1 {
 87                         device_type = "cpu";       84                         device_type = "cpu";
 88                         compatible = "arm,cort     85                         compatible = "arm,cortex-a53";
 89                         reg = <0x0 0x1>;           86                         reg = <0x0 0x1>;
 90                         enable-method = "psci"     87                         enable-method = "psci";
 91                         #cooling-cells = <2>;      88                         #cooling-cells = <2>; /* min followed by max */
 92                 };                                 89                 };
 93                                                    90 
 94                 cpu_l2: cpu@2 {                    91                 cpu_l2: cpu@2 {
 95                         device_type = "cpu";       92                         device_type = "cpu";
 96                         compatible = "arm,cort     93                         compatible = "arm,cortex-a53";
 97                         reg = <0x0 0x2>;           94                         reg = <0x0 0x2>;
 98                         enable-method = "psci"     95                         enable-method = "psci";
 99                         #cooling-cells = <2>;      96                         #cooling-cells = <2>; /* min followed by max */
100                 };                                 97                 };
101                                                    98 
102                 cpu_l3: cpu@3 {                    99                 cpu_l3: cpu@3 {
103                         device_type = "cpu";      100                         device_type = "cpu";
104                         compatible = "arm,cort    101                         compatible = "arm,cortex-a53";
105                         reg = <0x0 0x3>;          102                         reg = <0x0 0x3>;
106                         enable-method = "psci"    103                         enable-method = "psci";
107                         #cooling-cells = <2>;     104                         #cooling-cells = <2>; /* min followed by max */
108                 };                                105                 };
109                                                   106 
110                 cpu_b0: cpu@100 {                 107                 cpu_b0: cpu@100 {
111                         device_type = "cpu";      108                         device_type = "cpu";
112                         compatible = "arm,cort    109                         compatible = "arm,cortex-a53";
113                         reg = <0x0 0x100>;        110                         reg = <0x0 0x100>;
114                         enable-method = "psci"    111                         enable-method = "psci";
115                         #cooling-cells = <2>;     112                         #cooling-cells = <2>; /* min followed by max */
116                 };                                113                 };
117                                                   114 
118                 cpu_b1: cpu@101 {                 115                 cpu_b1: cpu@101 {
119                         device_type = "cpu";      116                         device_type = "cpu";
120                         compatible = "arm,cort    117                         compatible = "arm,cortex-a53";
121                         reg = <0x0 0x101>;        118                         reg = <0x0 0x101>;
122                         enable-method = "psci"    119                         enable-method = "psci";
123                         #cooling-cells = <2>;     120                         #cooling-cells = <2>; /* min followed by max */
124                 };                                121                 };
125                                                   122 
126                 cpu_b2: cpu@102 {                 123                 cpu_b2: cpu@102 {
127                         device_type = "cpu";      124                         device_type = "cpu";
128                         compatible = "arm,cort    125                         compatible = "arm,cortex-a53";
129                         reg = <0x0 0x102>;        126                         reg = <0x0 0x102>;
130                         enable-method = "psci"    127                         enable-method = "psci";
131                         #cooling-cells = <2>;     128                         #cooling-cells = <2>; /* min followed by max */
132                 };                                129                 };
133                                                   130 
134                 cpu_b3: cpu@103 {                 131                 cpu_b3: cpu@103 {
135                         device_type = "cpu";      132                         device_type = "cpu";
136                         compatible = "arm,cort    133                         compatible = "arm,cortex-a53";
137                         reg = <0x0 0x103>;        134                         reg = <0x0 0x103>;
138                         enable-method = "psci"    135                         enable-method = "psci";
139                         #cooling-cells = <2>;     136                         #cooling-cells = <2>; /* min followed by max */
140                 };                                137                 };
141         };                                        138         };
142                                                   139 
143         arm-pmu {                                 140         arm-pmu {
144                 compatible = "arm,cortex-a53-p !! 141                 compatible = "arm,armv8-pmuv3";
145                 interrupts = <GIC_SPI 112 IRQ_    142                 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
146                              <GIC_SPI 113 IRQ_    143                              <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
147                              <GIC_SPI 114 IRQ_    144                              <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
148                              <GIC_SPI 115 IRQ_    145                              <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
149                              <GIC_SPI 116 IRQ_    146                              <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
150                              <GIC_SPI 117 IRQ_    147                              <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
151                              <GIC_SPI 118 IRQ_    148                              <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
152                              <GIC_SPI 119 IRQ_    149                              <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
153                 interrupt-affinity = <&cpu_l0>    150                 interrupt-affinity = <&cpu_l0>, <&cpu_l1>, <&cpu_l2>,
154                                      <&cpu_l3>    151                                      <&cpu_l3>, <&cpu_b0>, <&cpu_b1>,
155                                      <&cpu_b2>    152                                      <&cpu_b2>, <&cpu_b3>;
156         };                                        153         };
157                                                   154 
158         psci {                                    155         psci {
159                 compatible = "arm,psci-0.2";      156                 compatible = "arm,psci-0.2";
160                 method = "smc";                   157                 method = "smc";
161         };                                        158         };
162                                                   159 
163         timer {                                   160         timer {
164                 compatible = "arm,armv8-timer"    161                 compatible = "arm,armv8-timer";
165                 interrupts = <GIC_PPI 13          162                 interrupts = <GIC_PPI 13
166                         (GIC_CPU_MASK_SIMPLE(8    163                         (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
167                              <GIC_PPI 14          164                              <GIC_PPI 14
168                         (GIC_CPU_MASK_SIMPLE(8    165                         (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
169                              <GIC_PPI 11          166                              <GIC_PPI 11
170                         (GIC_CPU_MASK_SIMPLE(8    167                         (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
171                              <GIC_PPI 10          168                              <GIC_PPI 10
172                         (GIC_CPU_MASK_SIMPLE(8    169                         (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
173         };                                        170         };
174                                                   171 
175         xin24m: oscillator {                      172         xin24m: oscillator {
176                 compatible = "fixed-clock";       173                 compatible = "fixed-clock";
177                 clock-frequency = <24000000>;     174                 clock-frequency = <24000000>;
178                 clock-output-names = "xin24m";    175                 clock-output-names = "xin24m";
179                 #clock-cells = <0>;               176                 #clock-cells = <0>;
180         };                                        177         };
181                                                   178 
182         sdmmc: mmc@ff0c0000 {                     179         sdmmc: mmc@ff0c0000 {
183                 compatible = "rockchip,rk3368-    180                 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
184                 reg = <0x0 0xff0c0000 0x0 0x40    181                 reg = <0x0 0xff0c0000 0x0 0x4000>;
185                 max-frequency = <150000000>;      182                 max-frequency = <150000000>;
186                 clocks = <&cru HCLK_SDMMC>, <&    183                 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
187                          <&cru SCLK_SDMMC_DRV>    184                          <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
188                 clock-names = "biu", "ciu", "c    185                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
189                 fifo-depth = <0x100>;             186                 fifo-depth = <0x100>;
190                 interrupts = <GIC_SPI 32 IRQ_T    187                 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
191                 resets = <&cru SRST_MMC0>;        188                 resets = <&cru SRST_MMC0>;
192                 reset-names = "reset";            189                 reset-names = "reset";
193                 status = "disabled";              190                 status = "disabled";
194         };                                        191         };
195                                                   192 
196         sdio0: mmc@ff0d0000 {                     193         sdio0: mmc@ff0d0000 {
197                 compatible = "rockchip,rk3368-    194                 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
198                 reg = <0x0 0xff0d0000 0x0 0x40    195                 reg = <0x0 0xff0d0000 0x0 0x4000>;
199                 max-frequency = <150000000>;      196                 max-frequency = <150000000>;
200                 clocks = <&cru HCLK_SDIO0>, <&    197                 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>,
201                          <&cru SCLK_SDIO0_DRV>    198                          <&cru SCLK_SDIO0_DRV>, <&cru SCLK_SDIO0_SAMPLE>;
202                 clock-names = "biu", "ciu", "c    199                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
203                 fifo-depth = <0x100>;             200                 fifo-depth = <0x100>;
204                 interrupts = <GIC_SPI 33 IRQ_T    201                 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
205                 resets = <&cru SRST_SDIO0>;       202                 resets = <&cru SRST_SDIO0>;
206                 reset-names = "reset";            203                 reset-names = "reset";
207                 status = "disabled";              204                 status = "disabled";
208         };                                        205         };
209                                                   206 
210         emmc: mmc@ff0f0000 {                      207         emmc: mmc@ff0f0000 {
211                 compatible = "rockchip,rk3368-    208                 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
212                 reg = <0x0 0xff0f0000 0x0 0x40    209                 reg = <0x0 0xff0f0000 0x0 0x4000>;
213                 max-frequency = <150000000>;      210                 max-frequency = <150000000>;
214                 clocks = <&cru HCLK_EMMC>, <&c    211                 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
215                          <&cru SCLK_EMMC_DRV>,    212                          <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
216                 clock-names = "biu", "ciu", "c    213                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
217                 fifo-depth = <0x100>;             214                 fifo-depth = <0x100>;
218                 interrupts = <GIC_SPI 35 IRQ_T    215                 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
219                 resets = <&cru SRST_EMMC>;        216                 resets = <&cru SRST_EMMC>;
220                 reset-names = "reset";            217                 reset-names = "reset";
221                 status = "disabled";              218                 status = "disabled";
222         };                                        219         };
223                                                   220 
224         saradc: saradc@ff100000 {                 221         saradc: saradc@ff100000 {
225                 compatible = "rockchip,saradc"    222                 compatible = "rockchip,saradc";
226                 reg = <0x0 0xff100000 0x0 0x10    223                 reg = <0x0 0xff100000 0x0 0x100>;
227                 interrupts = <GIC_SPI 36 IRQ_T    224                 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
228                 #io-channel-cells = <1>;          225                 #io-channel-cells = <1>;
229                 clocks = <&cru SCLK_SARADC>, <    226                 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
230                 clock-names = "saradc", "apb_p    227                 clock-names = "saradc", "apb_pclk";
231                 resets = <&cru SRST_SARADC>;      228                 resets = <&cru SRST_SARADC>;
232                 reset-names = "saradc-apb";       229                 reset-names = "saradc-apb";
233                 status = "disabled";              230                 status = "disabled";
234         };                                        231         };
235                                                   232 
236         spi0: spi@ff110000 {                      233         spi0: spi@ff110000 {
237                 compatible = "rockchip,rk3368-    234                 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
238                 reg = <0x0 0xff110000 0x0 0x10    235                 reg = <0x0 0xff110000 0x0 0x1000>;
239                 clocks = <&cru SCLK_SPI0>, <&c    236                 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
240                 clock-names = "spiclk", "apb_p    237                 clock-names = "spiclk", "apb_pclk";
241                 interrupts = <GIC_SPI 44 IRQ_T    238                 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
242                 pinctrl-names = "default";        239                 pinctrl-names = "default";
243                 pinctrl-0 = <&spi0_clk &spi0_t    240                 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
244                 #address-cells = <1>;             241                 #address-cells = <1>;
245                 #size-cells = <0>;                242                 #size-cells = <0>;
246                 status = "disabled";              243                 status = "disabled";
247         };                                        244         };
248                                                   245 
249         spi1: spi@ff120000 {                      246         spi1: spi@ff120000 {
250                 compatible = "rockchip,rk3368-    247                 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
251                 reg = <0x0 0xff120000 0x0 0x10    248                 reg = <0x0 0xff120000 0x0 0x1000>;
252                 clocks = <&cru SCLK_SPI1>, <&c    249                 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
253                 clock-names = "spiclk", "apb_p    250                 clock-names = "spiclk", "apb_pclk";
254                 interrupts = <GIC_SPI 45 IRQ_T    251                 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
255                 pinctrl-names = "default";        252                 pinctrl-names = "default";
256                 pinctrl-0 = <&spi1_clk &spi1_t    253                 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
257                 #address-cells = <1>;             254                 #address-cells = <1>;
258                 #size-cells = <0>;                255                 #size-cells = <0>;
259                 status = "disabled";              256                 status = "disabled";
260         };                                        257         };
261                                                   258 
262         spi2: spi@ff130000 {                      259         spi2: spi@ff130000 {
263                 compatible = "rockchip,rk3368-    260                 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
264                 reg = <0x0 0xff130000 0x0 0x10    261                 reg = <0x0 0xff130000 0x0 0x1000>;
265                 clocks = <&cru SCLK_SPI2>, <&c    262                 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
266                 clock-names = "spiclk", "apb_p    263                 clock-names = "spiclk", "apb_pclk";
267                 interrupts = <GIC_SPI 41 IRQ_T    264                 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
268                 pinctrl-names = "default";        265                 pinctrl-names = "default";
269                 pinctrl-0 = <&spi2_clk &spi2_t    266                 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
270                 #address-cells = <1>;             267                 #address-cells = <1>;
271                 #size-cells = <0>;                268                 #size-cells = <0>;
272                 status = "disabled";              269                 status = "disabled";
273         };                                        270         };
274                                                   271 
275         i2c2: i2c@ff140000 {                      272         i2c2: i2c@ff140000 {
276                 compatible = "rockchip,rk3368-    273                 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
277                 reg = <0x0 0xff140000 0x0 0x10    274                 reg = <0x0 0xff140000 0x0 0x1000>;
278                 interrupts = <GIC_SPI 62 IRQ_T    275                 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
279                 #address-cells = <1>;             276                 #address-cells = <1>;
280                 #size-cells = <0>;                277                 #size-cells = <0>;
281                 clock-names = "i2c";              278                 clock-names = "i2c";
282                 clocks = <&cru PCLK_I2C2>;        279                 clocks = <&cru PCLK_I2C2>;
283                 pinctrl-names = "default";        280                 pinctrl-names = "default";
284                 pinctrl-0 = <&i2c2_xfer>;         281                 pinctrl-0 = <&i2c2_xfer>;
285                 status = "disabled";              282                 status = "disabled";
286         };                                        283         };
287                                                   284 
288         i2c3: i2c@ff150000 {                      285         i2c3: i2c@ff150000 {
289                 compatible = "rockchip,rk3368-    286                 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
290                 reg = <0x0 0xff150000 0x0 0x10    287                 reg = <0x0 0xff150000 0x0 0x1000>;
291                 interrupts = <GIC_SPI 63 IRQ_T    288                 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
292                 #address-cells = <1>;             289                 #address-cells = <1>;
293                 #size-cells = <0>;                290                 #size-cells = <0>;
294                 clock-names = "i2c";              291                 clock-names = "i2c";
295                 clocks = <&cru PCLK_I2C3>;        292                 clocks = <&cru PCLK_I2C3>;
296                 pinctrl-names = "default";        293                 pinctrl-names = "default";
297                 pinctrl-0 = <&i2c3_xfer>;         294                 pinctrl-0 = <&i2c3_xfer>;
298                 status = "disabled";              295                 status = "disabled";
299         };                                        296         };
300                                                   297 
301         i2c4: i2c@ff160000 {                      298         i2c4: i2c@ff160000 {
302                 compatible = "rockchip,rk3368-    299                 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
303                 reg = <0x0 0xff160000 0x0 0x10    300                 reg = <0x0 0xff160000 0x0 0x1000>;
304                 interrupts = <GIC_SPI 64 IRQ_T    301                 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
305                 #address-cells = <1>;             302                 #address-cells = <1>;
306                 #size-cells = <0>;                303                 #size-cells = <0>;
307                 clock-names = "i2c";              304                 clock-names = "i2c";
308                 clocks = <&cru PCLK_I2C4>;        305                 clocks = <&cru PCLK_I2C4>;
309                 pinctrl-names = "default";        306                 pinctrl-names = "default";
310                 pinctrl-0 = <&i2c4_xfer>;         307                 pinctrl-0 = <&i2c4_xfer>;
311                 status = "disabled";              308                 status = "disabled";
312         };                                        309         };
313                                                   310 
314         i2c5: i2c@ff170000 {                      311         i2c5: i2c@ff170000 {
315                 compatible = "rockchip,rk3368-    312                 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
316                 reg = <0x0 0xff170000 0x0 0x10    313                 reg = <0x0 0xff170000 0x0 0x1000>;
317                 interrupts = <GIC_SPI 65 IRQ_T    314                 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
318                 #address-cells = <1>;             315                 #address-cells = <1>;
319                 #size-cells = <0>;                316                 #size-cells = <0>;
320                 clock-names = "i2c";              317                 clock-names = "i2c";
321                 clocks = <&cru PCLK_I2C5>;        318                 clocks = <&cru PCLK_I2C5>;
322                 pinctrl-names = "default";        319                 pinctrl-names = "default";
323                 pinctrl-0 = <&i2c5_xfer>;         320                 pinctrl-0 = <&i2c5_xfer>;
324                 status = "disabled";              321                 status = "disabled";
325         };                                        322         };
326                                                   323 
327         uart0: serial@ff180000 {                  324         uart0: serial@ff180000 {
328                 compatible = "rockchip,rk3368-    325                 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
329                 reg = <0x0 0xff180000 0x0 0x10    326                 reg = <0x0 0xff180000 0x0 0x100>;
330                 clock-frequency = <24000000>;     327                 clock-frequency = <24000000>;
331                 clocks = <&cru SCLK_UART0>, <&    328                 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
332                 clock-names = "baudclk", "apb_    329                 clock-names = "baudclk", "apb_pclk";
333                 interrupts = <GIC_SPI 55 IRQ_T    330                 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
334                 reg-shift = <2>;                  331                 reg-shift = <2>;
335                 reg-io-width = <4>;               332                 reg-io-width = <4>;
336                 status = "disabled";              333                 status = "disabled";
337         };                                        334         };
338                                                   335 
339         uart1: serial@ff190000 {                  336         uart1: serial@ff190000 {
340                 compatible = "rockchip,rk3368-    337                 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
341                 reg = <0x0 0xff190000 0x0 0x10    338                 reg = <0x0 0xff190000 0x0 0x100>;
342                 clock-frequency = <24000000>;     339                 clock-frequency = <24000000>;
343                 clocks = <&cru SCLK_UART1>, <&    340                 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
344                 clock-names = "baudclk", "apb_    341                 clock-names = "baudclk", "apb_pclk";
345                 interrupts = <GIC_SPI 56 IRQ_T    342                 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
346                 reg-shift = <2>;                  343                 reg-shift = <2>;
347                 reg-io-width = <4>;               344                 reg-io-width = <4>;
348                 status = "disabled";              345                 status = "disabled";
349         };                                        346         };
350                                                   347 
351         uart3: serial@ff1b0000 {                  348         uart3: serial@ff1b0000 {
352                 compatible = "rockchip,rk3368-    349                 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
353                 reg = <0x0 0xff1b0000 0x0 0x10    350                 reg = <0x0 0xff1b0000 0x0 0x100>;
354                 clock-frequency = <24000000>;     351                 clock-frequency = <24000000>;
355                 clocks = <&cru SCLK_UART3>, <&    352                 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
356                 clock-names = "baudclk", "apb_    353                 clock-names = "baudclk", "apb_pclk";
357                 interrupts = <GIC_SPI 58 IRQ_T    354                 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
358                 reg-shift = <2>;                  355                 reg-shift = <2>;
359                 reg-io-width = <4>;               356                 reg-io-width = <4>;
360                 status = "disabled";              357                 status = "disabled";
361         };                                        358         };
362                                                   359 
363         uart4: serial@ff1c0000 {                  360         uart4: serial@ff1c0000 {
364                 compatible = "rockchip,rk3368-    361                 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
365                 reg = <0x0 0xff1c0000 0x0 0x10    362                 reg = <0x0 0xff1c0000 0x0 0x100>;
366                 clock-frequency = <24000000>;     363                 clock-frequency = <24000000>;
367                 clocks = <&cru SCLK_UART4>, <&    364                 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
368                 clock-names = "baudclk", "apb_    365                 clock-names = "baudclk", "apb_pclk";
369                 interrupts = <GIC_SPI 59 IRQ_T    366                 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
370                 reg-shift = <2>;                  367                 reg-shift = <2>;
371                 reg-io-width = <4>;               368                 reg-io-width = <4>;
372                 status = "disabled";              369                 status = "disabled";
373         };                                        370         };
374                                                   371 
375         dmac_peri: dma-controller@ff250000 {      372         dmac_peri: dma-controller@ff250000 {
376                 compatible = "arm,pl330", "arm    373                 compatible = "arm,pl330", "arm,primecell";
377                 reg = <0x0 0xff250000 0x0 0x40    374                 reg = <0x0 0xff250000 0x0 0x4000>;
378                 interrupts = <GIC_SPI 2 IRQ_TY    375                 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
379                              <GIC_SPI 3 IRQ_TY    376                              <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
380                 #dma-cells = <1>;                 377                 #dma-cells = <1>;
381                 arm,pl330-broken-no-flushp;       378                 arm,pl330-broken-no-flushp;
382                 arm,pl330-periph-burst;           379                 arm,pl330-periph-burst;
383                 clocks = <&cru ACLK_DMAC_PERI>    380                 clocks = <&cru ACLK_DMAC_PERI>;
384                 clock-names = "apb_pclk";         381                 clock-names = "apb_pclk";
385         };                                        382         };
386                                                   383 
387         thermal-zones {                           384         thermal-zones {
388                 cpu_thermal: cpu-thermal {        385                 cpu_thermal: cpu-thermal {
389                         polling-delay-passive     386                         polling-delay-passive = <100>; /* milliseconds */
390                         polling-delay = <5000>    387                         polling-delay = <5000>; /* milliseconds */
391                                                   388 
392                         thermal-sensors = <&ts    389                         thermal-sensors = <&tsadc 0>;
393                                                   390 
394                         trips {                   391                         trips {
395                                 cpu_alert0: cp    392                                 cpu_alert0: cpu_alert0 {
396                                         temper    393                                         temperature = <75000>; /* millicelsius */
397                                         hyster    394                                         hysteresis = <2000>; /* millicelsius */
398                                         type =    395                                         type = "passive";
399                                 };                396                                 };
400                                 cpu_alert1: cp    397                                 cpu_alert1: cpu_alert1 {
401                                         temper    398                                         temperature = <80000>; /* millicelsius */
402                                         hyster    399                                         hysteresis = <2000>; /* millicelsius */
403                                         type =    400                                         type = "passive";
404                                 };                401                                 };
405                                 cpu_crit: cpu_    402                                 cpu_crit: cpu_crit {
406                                         temper    403                                         temperature = <95000>; /* millicelsius */
407                                         hyster    404                                         hysteresis = <2000>; /* millicelsius */
408                                         type =    405                                         type = "critical";
409                                 };                406                                 };
410                         };                        407                         };
411                                                   408 
412                         cooling-maps {            409                         cooling-maps {
413                                 map0 {            410                                 map0 {
414                                         trip =    411                                         trip = <&cpu_alert0>;
415                                         coolin    412                                         cooling-device =
416                                         <&cpu_    413                                         <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
417                                         <&cpu_    414                                         <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
418                                         <&cpu_    415                                         <&cpu_b2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
419                                         <&cpu_    416                                         <&cpu_b3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
420                                 };                417                                 };
421                                 map1 {            418                                 map1 {
422                                         trip =    419                                         trip = <&cpu_alert1>;
423                                         coolin    420                                         cooling-device =
424                                         <&cpu_    421                                         <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
425                                         <&cpu_    422                                         <&cpu_l1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
426                                         <&cpu_    423                                         <&cpu_l2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
427                                         <&cpu_    424                                         <&cpu_l3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
428                                 };                425                                 };
429                         };                        426                         };
430                 };                                427                 };
431                                                   428 
432                 gpu_thermal: gpu-thermal {        429                 gpu_thermal: gpu-thermal {
433                         polling-delay-passive     430                         polling-delay-passive = <100>; /* milliseconds */
434                         polling-delay = <5000>    431                         polling-delay = <5000>; /* milliseconds */
435                                                   432 
436                         thermal-sensors = <&ts    433                         thermal-sensors = <&tsadc 1>;
437                                                   434 
438                         trips {                   435                         trips {
439                                 gpu_alert0: gp    436                                 gpu_alert0: gpu_alert0 {
440                                         temper    437                                         temperature = <80000>; /* millicelsius */
441                                         hyster    438                                         hysteresis = <2000>; /* millicelsius */
442                                         type =    439                                         type = "passive";
443                                 };                440                                 };
444                                 gpu_crit: gpu_    441                                 gpu_crit: gpu_crit {
445                                         temper    442                                         temperature = <115000>; /* millicelsius */
446                                         hyster    443                                         hysteresis = <2000>; /* millicelsius */
447                                         type =    444                                         type = "critical";
448                                 };                445                                 };
449                         };                        446                         };
450                                                   447 
451                         cooling-maps {            448                         cooling-maps {
452                                 map0 {            449                                 map0 {
453                                         trip =    450                                         trip = <&gpu_alert0>;
454                                         coolin    451                                         cooling-device =
455                                         <&cpu_    452                                         <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
456                                         <&cpu_    453                                         <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
457                                         <&cpu_    454                                         <&cpu_b2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
458                                         <&cpu_    455                                         <&cpu_b3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
459                                 };                456                                 };
460                         };                        457                         };
461                 };                                458                 };
462         };                                        459         };
463                                                   460 
464         tsadc: tsadc@ff280000 {                   461         tsadc: tsadc@ff280000 {
465                 compatible = "rockchip,rk3368-    462                 compatible = "rockchip,rk3368-tsadc";
466                 reg = <0x0 0xff280000 0x0 0x10    463                 reg = <0x0 0xff280000 0x0 0x100>;
467                 interrupts = <GIC_SPI 37 IRQ_T    464                 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
468                 clocks = <&cru SCLK_TSADC>, <&    465                 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
469                 clock-names = "tsadc", "apb_pc    466                 clock-names = "tsadc", "apb_pclk";
470                 resets = <&cru SRST_TSADC>;       467                 resets = <&cru SRST_TSADC>;
471                 reset-names = "tsadc-apb";        468                 reset-names = "tsadc-apb";
472                 pinctrl-names = "init", "defau    469                 pinctrl-names = "init", "default", "sleep";
473                 pinctrl-0 = <&otp_pin>;           470                 pinctrl-0 = <&otp_pin>;
474                 pinctrl-1 = <&otp_out>;           471                 pinctrl-1 = <&otp_out>;
475                 pinctrl-2 = <&otp_pin>;           472                 pinctrl-2 = <&otp_pin>;
476                 #thermal-sensor-cells = <1>;      473                 #thermal-sensor-cells = <1>;
477                 rockchip,hw-tshut-temp = <9500    474                 rockchip,hw-tshut-temp = <95000>;
478                 status = "disabled";              475                 status = "disabled";
479         };                                        476         };
480                                                   477 
481         gmac: ethernet@ff290000 {                 478         gmac: ethernet@ff290000 {
482                 compatible = "rockchip,rk3368-    479                 compatible = "rockchip,rk3368-gmac";
483                 reg = <0x0 0xff290000 0x0 0x10    480                 reg = <0x0 0xff290000 0x0 0x10000>;
484                 interrupts = <GIC_SPI 27 IRQ_T    481                 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
485                 interrupt-names = "macirq";       482                 interrupt-names = "macirq";
486                 rockchip,grf = <&grf>;            483                 rockchip,grf = <&grf>;
487                 clocks = <&cru SCLK_MAC>,         484                 clocks = <&cru SCLK_MAC>,
488                         <&cru SCLK_MAC_RX>, <&    485                         <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
489                         <&cru SCLK_MACREF>, <&    486                         <&cru SCLK_MACREF>, <&cru SCLK_MACREF_OUT>,
490                         <&cru ACLK_GMAC>, <&cr    487                         <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
491                 clock-names = "stmmaceth",        488                 clock-names = "stmmaceth",
492                         "mac_clk_rx", "mac_clk    489                         "mac_clk_rx", "mac_clk_tx",
493                         "clk_mac_ref", "clk_ma    490                         "clk_mac_ref", "clk_mac_refout",
494                         "aclk_mac", "pclk_mac"    491                         "aclk_mac", "pclk_mac";
495                 status = "disabled";              492                 status = "disabled";
496         };                                        493         };
497                                                   494 
498         usb_host0_ehci: usb@ff500000 {            495         usb_host0_ehci: usb@ff500000 {
499                 compatible = "generic-ehci";      496                 compatible = "generic-ehci";
500                 reg = <0x0 0xff500000 0x0 0x10    497                 reg = <0x0 0xff500000 0x0 0x100>;
501                 interrupts = <GIC_SPI 24 IRQ_T    498                 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
502                 clocks = <&cru HCLK_HOST0>;       499                 clocks = <&cru HCLK_HOST0>;
503                 status = "disabled";              500                 status = "disabled";
504         };                                        501         };
505                                                   502 
506         usb_otg: usb@ff580000 {                   503         usb_otg: usb@ff580000 {
507                 compatible = "rockchip,rk3368-    504                 compatible = "rockchip,rk3368-usb", "rockchip,rk3066-usb",
508                                 "snps,dwc2";      505                                 "snps,dwc2";
509                 reg = <0x0 0xff580000 0x0 0x40    506                 reg = <0x0 0xff580000 0x0 0x40000>;
510                 interrupts = <GIC_SPI 23 IRQ_T    507                 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
511                 clocks = <&cru HCLK_OTG0>;        508                 clocks = <&cru HCLK_OTG0>;
512                 clock-names = "otg";              509                 clock-names = "otg";
513                 dr_mode = "otg";                  510                 dr_mode = "otg";
514                 g-np-tx-fifo-size = <16>;         511                 g-np-tx-fifo-size = <16>;
515                 g-rx-fifo-size = <275>;           512                 g-rx-fifo-size = <275>;
516                 g-tx-fifo-size = <256 128 128     513                 g-tx-fifo-size = <256 128 128 64 64 32>;
517                 status = "disabled";              514                 status = "disabled";
518         };                                        515         };
519                                                   516 
520         dmac_bus: dma-controller@ff600000 {       517         dmac_bus: dma-controller@ff600000 {
521                 compatible = "arm,pl330", "arm    518                 compatible = "arm,pl330", "arm,primecell";
522                 reg = <0x0 0xff600000 0x0 0x40    519                 reg = <0x0 0xff600000 0x0 0x4000>;
523                 interrupts = <GIC_SPI 0 IRQ_TY    520                 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
524                              <GIC_SPI 1 IRQ_TY    521                              <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
525                 #dma-cells = <1>;                 522                 #dma-cells = <1>;
526                 arm,pl330-broken-no-flushp;       523                 arm,pl330-broken-no-flushp;
527                 arm,pl330-periph-burst;           524                 arm,pl330-periph-burst;
528                 clocks = <&cru ACLK_DMAC_BUS>;    525                 clocks = <&cru ACLK_DMAC_BUS>;
529                 clock-names = "apb_pclk";         526                 clock-names = "apb_pclk";
530         };                                        527         };
531                                                   528 
532         i2c0: i2c@ff650000 {                      529         i2c0: i2c@ff650000 {
533                 compatible = "rockchip,rk3368-    530                 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
534                 reg = <0x0 0xff650000 0x0 0x10    531                 reg = <0x0 0xff650000 0x0 0x1000>;
535                 clocks = <&cru PCLK_I2C0>;        532                 clocks = <&cru PCLK_I2C0>;
536                 clock-names = "i2c";              533                 clock-names = "i2c";
537                 interrupts = <GIC_SPI 60 IRQ_T    534                 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
538                 pinctrl-names = "default";        535                 pinctrl-names = "default";
539                 pinctrl-0 = <&i2c0_xfer>;         536                 pinctrl-0 = <&i2c0_xfer>;
540                 #address-cells = <1>;             537                 #address-cells = <1>;
541                 #size-cells = <0>;                538                 #size-cells = <0>;
542                 status = "disabled";              539                 status = "disabled";
543         };                                        540         };
544                                                   541 
545         i2c1: i2c@ff660000 {                      542         i2c1: i2c@ff660000 {
546                 compatible = "rockchip,rk3368-    543                 compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
547                 reg = <0x0 0xff660000 0x0 0x10    544                 reg = <0x0 0xff660000 0x0 0x1000>;
548                 interrupts = <GIC_SPI 61 IRQ_T    545                 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
549                 #address-cells = <1>;             546                 #address-cells = <1>;
550                 #size-cells = <0>;                547                 #size-cells = <0>;
551                 clock-names = "i2c";              548                 clock-names = "i2c";
552                 clocks = <&cru PCLK_I2C1>;        549                 clocks = <&cru PCLK_I2C1>;
553                 pinctrl-names = "default";        550                 pinctrl-names = "default";
554                 pinctrl-0 = <&i2c1_xfer>;         551                 pinctrl-0 = <&i2c1_xfer>;
555                 status = "disabled";              552                 status = "disabled";
556         };                                        553         };
557                                                   554 
558         pwm0: pwm@ff680000 {                      555         pwm0: pwm@ff680000 {
559                 compatible = "rockchip,rk3368-    556                 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
560                 reg = <0x0 0xff680000 0x0 0x10    557                 reg = <0x0 0xff680000 0x0 0x10>;
561                 #pwm-cells = <3>;                 558                 #pwm-cells = <3>;
562                 pinctrl-names = "default";        559                 pinctrl-names = "default";
563                 pinctrl-0 = <&pwm0_pin>;          560                 pinctrl-0 = <&pwm0_pin>;
564                 clocks = <&cru PCLK_PWM1>;        561                 clocks = <&cru PCLK_PWM1>;
565                 status = "disabled";              562                 status = "disabled";
566         };                                        563         };
567                                                   564 
568         pwm1: pwm@ff680010 {                      565         pwm1: pwm@ff680010 {
569                 compatible = "rockchip,rk3368-    566                 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
570                 reg = <0x0 0xff680010 0x0 0x10    567                 reg = <0x0 0xff680010 0x0 0x10>;
571                 #pwm-cells = <3>;                 568                 #pwm-cells = <3>;
572                 pinctrl-names = "default";        569                 pinctrl-names = "default";
573                 pinctrl-0 = <&pwm1_pin>;          570                 pinctrl-0 = <&pwm1_pin>;
574                 clocks = <&cru PCLK_PWM1>;        571                 clocks = <&cru PCLK_PWM1>;
575                 status = "disabled";              572                 status = "disabled";
576         };                                        573         };
577                                                   574 
578         pwm2: pwm@ff680020 {                      575         pwm2: pwm@ff680020 {
579                 compatible = "rockchip,rk3368-    576                 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
580                 reg = <0x0 0xff680020 0x0 0x10    577                 reg = <0x0 0xff680020 0x0 0x10>;
581                 #pwm-cells = <3>;                 578                 #pwm-cells = <3>;
582                 clocks = <&cru PCLK_PWM1>;        579                 clocks = <&cru PCLK_PWM1>;
583                 status = "disabled";              580                 status = "disabled";
584         };                                        581         };
585                                                   582 
586         pwm3: pwm@ff680030 {                      583         pwm3: pwm@ff680030 {
587                 compatible = "rockchip,rk3368-    584                 compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
588                 reg = <0x0 0xff680030 0x0 0x10    585                 reg = <0x0 0xff680030 0x0 0x10>;
589                 #pwm-cells = <3>;                 586                 #pwm-cells = <3>;
590                 pinctrl-names = "default";        587                 pinctrl-names = "default";
591                 pinctrl-0 = <&pwm3_pin>;          588                 pinctrl-0 = <&pwm3_pin>;
592                 clocks = <&cru PCLK_PWM1>;        589                 clocks = <&cru PCLK_PWM1>;
593                 status = "disabled";              590                 status = "disabled";
594         };                                        591         };
595                                                   592 
596         uart2: serial@ff690000 {                  593         uart2: serial@ff690000 {
597                 compatible = "rockchip,rk3368-    594                 compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
598                 reg = <0x0 0xff690000 0x0 0x10    595                 reg = <0x0 0xff690000 0x0 0x100>;
599                 clocks = <&cru SCLK_UART2>, <&    596                 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
600                 clock-names = "baudclk", "apb_    597                 clock-names = "baudclk", "apb_pclk";
601                 interrupts = <GIC_SPI 57 IRQ_T    598                 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
602                 pinctrl-names = "default";        599                 pinctrl-names = "default";
603                 pinctrl-0 = <&uart2_xfer>;        600                 pinctrl-0 = <&uart2_xfer>;
604                 reg-shift = <2>;                  601                 reg-shift = <2>;
605                 reg-io-width = <4>;               602                 reg-io-width = <4>;
606                 status = "disabled";              603                 status = "disabled";
607         };                                        604         };
608                                                   605 
609         mbox: mbox@ff6b0000 {                     606         mbox: mbox@ff6b0000 {
610                 compatible = "rockchip,rk3368-    607                 compatible = "rockchip,rk3368-mailbox";
611                 reg = <0x0 0xff6b0000 0x0 0x10    608                 reg = <0x0 0xff6b0000 0x0 0x1000>;
612                 interrupts = <GIC_SPI 146 IRQ_    609                 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
613                              <GIC_SPI 147 IRQ_    610                              <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
614                              <GIC_SPI 148 IRQ_    611                              <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
615                              <GIC_SPI 149 IRQ_    612                              <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
616                 clocks = <&cru PCLK_MAILBOX>;     613                 clocks = <&cru PCLK_MAILBOX>;
617                 clock-names = "pclk_mailbox";     614                 clock-names = "pclk_mailbox";
618                 #mbox-cells = <1>;                615                 #mbox-cells = <1>;
619                 status = "disabled";              616                 status = "disabled";
620         };                                        617         };
621                                                   618 
622         pmu: power-management@ff730000 {          619         pmu: power-management@ff730000 {
623                 compatible = "rockchip,rk3368-    620                 compatible = "rockchip,rk3368-pmu", "syscon", "simple-mfd";
624                 reg = <0x0 0xff730000 0x0 0x10    621                 reg = <0x0 0xff730000 0x0 0x1000>;
625                                                   622 
626                 power: power-controller {         623                 power: power-controller {
627                         compatible = "rockchip    624                         compatible = "rockchip,rk3368-power-controller";
628                         #power-domain-cells =     625                         #power-domain-cells = <1>;
629                         #address-cells = <1>;     626                         #address-cells = <1>;
630                         #size-cells = <0>;        627                         #size-cells = <0>;
631                                                   628 
632                         /*                        629                         /*
633                          * Note: Although SCLK    630                          * Note: Although SCLK_* are the working clocks
634                          * of device without i    631                          * of device without including on the NOC, needed for
635                          * synchronous reset.     632                          * synchronous reset.
636                          *                        633                          *
637                          * The clocks on the w    634                          * The clocks on the which NOC:
638                          * ACLK_IEP/ACLK_VIP/A    635                          * ACLK_IEP/ACLK_VIP/ACLK_VOP0 are on ACLK_VIO0_NIU.
639                          * ACLK_ISP/ACLK_VOP1     636                          * ACLK_ISP/ACLK_VOP1 are on ACLK_VIO1_NIU.
640                          * ACLK_RGA is on ACLK    637                          * ACLK_RGA is on ACLK_RGA_NIU.
641                          * The others (HCLK_*,    638                          * The others (HCLK_*,PLCK_*) are on HCLK_VIO_NIU.
642                          *                        639                          *
643                          * Which clock are dev    640                          * Which clock are device clocks:
644                          *      clocks            641                          *      clocks          devices
645                          *      *_IEP             642                          *      *_IEP           IEP:Image Enhancement Processor
646                          *      *_ISP             643                          *      *_ISP           ISP:Image Signal Processing
647                          *      *_VIP             644                          *      *_VIP           VIP:Video Input Processor
648                          *      *_VOP*            645                          *      *_VOP*          VOP:Visual Output Processor
649                          *      *_RGA             646                          *      *_RGA           RGA
650                          *      *_EDP*            647                          *      *_EDP*          EDP
651                          *      *_DPHY*           648                          *      *_DPHY*         LVDS
652                          *      *_HDMI            649                          *      *_HDMI          HDMI
653                          *      *_MIPI_*          650                          *      *_MIPI_*        MIPI
654                          */                       651                          */
655                         power-domain@RK3368_PD    652                         power-domain@RK3368_PD_VIO {
656                                 reg = <RK3368_    653                                 reg = <RK3368_PD_VIO>;
657                                 clocks = <&cru    654                                 clocks = <&cru ACLK_IEP>,
658                                          <&cru    655                                          <&cru ACLK_ISP>,
659                                          <&cru    656                                          <&cru ACLK_VIP>,
660                                          <&cru    657                                          <&cru ACLK_RGA>,
661                                          <&cru    658                                          <&cru ACLK_VOP>,
662                                          <&cru    659                                          <&cru ACLK_VOP_IEP>,
663                                          <&cru    660                                          <&cru DCLK_VOP>,
664                                          <&cru    661                                          <&cru HCLK_IEP>,
665                                          <&cru    662                                          <&cru HCLK_ISP>,
666                                          <&cru    663                                          <&cru HCLK_RGA>,
667                                          <&cru    664                                          <&cru HCLK_VIP>,
668                                          <&cru    665                                          <&cru HCLK_VOP>,
669                                          <&cru    666                                          <&cru HCLK_VIO_HDCPMMU>,
670                                          <&cru    667                                          <&cru PCLK_EDP_CTRL>,
671                                          <&cru    668                                          <&cru PCLK_HDMI_CTRL>,
672                                          <&cru    669                                          <&cru PCLK_HDCP>,
673                                          <&cru    670                                          <&cru PCLK_ISP>,
674                                          <&cru    671                                          <&cru PCLK_VIP>,
675                                          <&cru    672                                          <&cru PCLK_DPHYRX>,
676                                          <&cru    673                                          <&cru PCLK_DPHYTX0>,
677                                          <&cru    674                                          <&cru PCLK_MIPI_CSI>,
678                                          <&cru    675                                          <&cru PCLK_MIPI_DSI0>,
679                                          <&cru    676                                          <&cru SCLK_VOP0_PWM>,
680                                          <&cru    677                                          <&cru SCLK_EDP_24M>,
681                                          <&cru    678                                          <&cru SCLK_EDP>,
682                                          <&cru    679                                          <&cru SCLK_HDCP>,
683                                          <&cru    680                                          <&cru SCLK_ISP>,
684                                          <&cru    681                                          <&cru SCLK_RGA>,
685                                          <&cru    682                                          <&cru SCLK_HDMI_CEC>,
686                                          <&cru    683                                          <&cru SCLK_HDMI_HDCP>;
687                                 pm_qos = <&qos    684                                 pm_qos = <&qos_iep>,
688                                          <&qos    685                                          <&qos_isp_r0>,
689                                          <&qos    686                                          <&qos_isp_r1>,
690                                          <&qos    687                                          <&qos_isp_w0>,
691                                          <&qos    688                                          <&qos_isp_w1>,
692                                          <&qos    689                                          <&qos_vip>,
693                                          <&qos    690                                          <&qos_vop>,
694                                          <&qos    691                                          <&qos_rga_r>,
695                                          <&qos    692                                          <&qos_rga_w>;
696                                 #power-domain-    693                                 #power-domain-cells = <0>;
697                         };                        694                         };
698                                                   695 
699                         /*                        696                         /*
700                          * Note: ACLK_VCODEC/H    697                          * Note: ACLK_VCODEC/HCLK_VCODEC are VCODEC
701                          * (video endecoder &     698                          * (video endecoder & decoder) clocks that on the
702                          * ACLK_VCODEC_NIU and    699                          * ACLK_VCODEC_NIU and HCLK_VCODEC_NIU (NOC).
703                          */                       700                          */
704                         power-domain@RK3368_PD    701                         power-domain@RK3368_PD_VIDEO {
705                                 reg = <RK3368_    702                                 reg = <RK3368_PD_VIDEO>;
706                                 clocks = <&cru    703                                 clocks = <&cru ACLK_VIDEO>,
707                                          <&cru    704                                          <&cru HCLK_VIDEO>,
708                                          <&cru    705                                          <&cru SCLK_HEVC_CABAC>,
709                                          <&cru    706                                          <&cru SCLK_HEVC_CORE>;
710                                 pm_qos = <&qos    707                                 pm_qos = <&qos_hevc_r>,
711                                          <&qos    708                                          <&qos_vpu_r>,
712                                          <&qos    709                                          <&qos_vpu_w>;
713                                 #power-domain-    710                                 #power-domain-cells = <0>;
714                         };                        711                         };
715                                                   712 
716                         /*                        713                         /*
717                          * Note: ACLK_GPU is t    714                          * Note: ACLK_GPU is the GPU clock,
718                          * and on the ACLK_GPU    715                          * and on the ACLK_GPU_NIU (NOC).
719                          */                       716                          */
720                         power-domain@RK3368_PD    717                         power-domain@RK3368_PD_GPU_1 {
721                                 reg = <RK3368_    718                                 reg = <RK3368_PD_GPU_1>;
722                                 clocks = <&cru    719                                 clocks = <&cru ACLK_GPU_CFG>,
723                                          <&cru    720                                          <&cru ACLK_GPU_MEM>,
724                                          <&cru    721                                          <&cru SCLK_GPU_CORE>;
725                                 pm_qos = <&qos    722                                 pm_qos = <&qos_gpu>;
726                                 #power-domain-    723                                 #power-domain-cells = <0>;
727                         };                        724                         };
728                 };                                725                 };
729         };                                        726         };
730                                                   727 
731         pmugrf: syscon@ff738000 {                 728         pmugrf: syscon@ff738000 {
732                 compatible = "rockchip,rk3368-    729                 compatible = "rockchip,rk3368-pmugrf", "syscon", "simple-mfd";
733                 reg = <0x0 0xff738000 0x0 0x10    730                 reg = <0x0 0xff738000 0x0 0x1000>;
734                                                   731 
735                 pmu_io_domains: io-domains {      732                 pmu_io_domains: io-domains {
736                         compatible = "rockchip    733                         compatible = "rockchip,rk3368-pmu-io-voltage-domain";
737                         status = "disabled";      734                         status = "disabled";
738                 };                                735                 };
739                                                   736 
740                 reboot-mode {                     737                 reboot-mode {
741                         compatible = "syscon-r    738                         compatible = "syscon-reboot-mode";
742                         offset = <0x200>;         739                         offset = <0x200>;
743                         mode-normal = <BOOT_NO    740                         mode-normal = <BOOT_NORMAL>;
744                         mode-recovery = <BOOT_    741                         mode-recovery = <BOOT_RECOVERY>;
745                         mode-bootloader = <BOO    742                         mode-bootloader = <BOOT_FASTBOOT>;
746                         mode-loader = <BOOT_BL    743                         mode-loader = <BOOT_BL_DOWNLOAD>;
747                 };                                744                 };
748         };                                        745         };
749                                                   746 
750         cru: clock-controller@ff760000 {          747         cru: clock-controller@ff760000 {
751                 compatible = "rockchip,rk3368-    748                 compatible = "rockchip,rk3368-cru";
752                 reg = <0x0 0xff760000 0x0 0x10    749                 reg = <0x0 0xff760000 0x0 0x1000>;
753                 clocks = <&xin24m>;               750                 clocks = <&xin24m>;
754                 clock-names = "xin24m";           751                 clock-names = "xin24m";
755                 rockchip,grf = <&grf>;            752                 rockchip,grf = <&grf>;
756                 #clock-cells = <1>;               753                 #clock-cells = <1>;
757                 #reset-cells = <1>;               754                 #reset-cells = <1>;
758         };                                        755         };
759                                                   756 
760         grf: syscon@ff770000 {                    757         grf: syscon@ff770000 {
761                 compatible = "rockchip,rk3368-    758                 compatible = "rockchip,rk3368-grf", "syscon", "simple-mfd";
762                 reg = <0x0 0xff770000 0x0 0x10    759                 reg = <0x0 0xff770000 0x0 0x1000>;
763                                                   760 
764                 io_domains: io-domains {          761                 io_domains: io-domains {
765                         compatible = "rockchip    762                         compatible = "rockchip,rk3368-io-voltage-domain";
766                         status = "disabled";      763                         status = "disabled";
767                 };                                764                 };
768         };                                        765         };
769                                                   766 
770         wdt: watchdog@ff800000 {                  767         wdt: watchdog@ff800000 {
771                 compatible = "rockchip,rk3368-    768                 compatible = "rockchip,rk3368-wdt", "snps,dw-wdt";
772                 reg = <0x0 0xff800000 0x0 0x10    769                 reg = <0x0 0xff800000 0x0 0x100>;
773                 clocks = <&cru PCLK_WDT>;         770                 clocks = <&cru PCLK_WDT>;
774                 interrupts = <GIC_SPI 79 IRQ_T    771                 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
775                 status = "disabled";              772                 status = "disabled";
776         };                                        773         };
777                                                   774 
778         timer0: timer@ff810000 {                  775         timer0: timer@ff810000 {
779                 compatible = "rockchip,rk3368-    776                 compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer";
780                 reg = <0x0 0xff810000 0x0 0x20    777                 reg = <0x0 0xff810000 0x0 0x20>;
781                 interrupts = <GIC_SPI 66 IRQ_T    778                 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
782                 clocks = <&cru PCLK_TIMER0>, <    779                 clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
783                 clock-names = "pclk", "timer";    780                 clock-names = "pclk", "timer";
784         };                                        781         };
785                                                   782 
786         spdif: spdif@ff880000 {                   783         spdif: spdif@ff880000 {
787                 compatible = "rockchip,rk3368-    784                 compatible = "rockchip,rk3368-spdif";
788                 reg = <0x0 0xff880000 0x0 0x10    785                 reg = <0x0 0xff880000 0x0 0x1000>;
789                 interrupts = <GIC_SPI 54 IRQ_T    786                 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
790                 clocks = <&cru SCLK_SPDIF_8CH>    787                 clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
791                 clock-names = "mclk", "hclk";     788                 clock-names = "mclk", "hclk";
792                 dmas = <&dmac_bus 3>;             789                 dmas = <&dmac_bus 3>;
793                 dma-names = "tx";                 790                 dma-names = "tx";
794                 pinctrl-names = "default";        791                 pinctrl-names = "default";
795                 pinctrl-0 = <&spdif_tx>;          792                 pinctrl-0 = <&spdif_tx>;
796                 #sound-dai-cells = <0>;        << 
797                 status = "disabled";              793                 status = "disabled";
798         };                                        794         };
799                                                   795 
800         i2s_2ch: i2s-2ch@ff890000 {               796         i2s_2ch: i2s-2ch@ff890000 {
801                 compatible = "rockchip,rk3368-    797                 compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
802                 reg = <0x0 0xff890000 0x0 0x10    798                 reg = <0x0 0xff890000 0x0 0x1000>;
803                 interrupts = <GIC_SPI 40 IRQ_T    799                 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
804                 clock-names = "i2s_clk", "i2s_    800                 clock-names = "i2s_clk", "i2s_hclk";
805                 clocks = <&cru SCLK_I2S_2CH>,     801                 clocks = <&cru SCLK_I2S_2CH>, <&cru HCLK_I2S_2CH>;
806                 dmas = <&dmac_bus 6>, <&dmac_b    802                 dmas = <&dmac_bus 6>, <&dmac_bus 7>;
807                 dma-names = "tx", "rx";           803                 dma-names = "tx", "rx";
808                 #sound-dai-cells = <0>;        << 
809                 status = "disabled";              804                 status = "disabled";
810         };                                        805         };
811                                                   806 
812         i2s_8ch: i2s-8ch@ff898000 {               807         i2s_8ch: i2s-8ch@ff898000 {
813                 compatible = "rockchip,rk3368-    808                 compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
814                 reg = <0x0 0xff898000 0x0 0x10    809                 reg = <0x0 0xff898000 0x0 0x1000>;
815                 interrupts = <GIC_SPI 53 IRQ_T    810                 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
816                 clock-names = "i2s_clk", "i2s_    811                 clock-names = "i2s_clk", "i2s_hclk";
817                 clocks = <&cru SCLK_I2S_8CH>,     812                 clocks = <&cru SCLK_I2S_8CH>, <&cru HCLK_I2S_8CH>;
818                 dmas = <&dmac_bus 0>, <&dmac_b    813                 dmas = <&dmac_bus 0>, <&dmac_bus 1>;
819                 dma-names = "tx", "rx";           814                 dma-names = "tx", "rx";
820                 pinctrl-names = "default";        815                 pinctrl-names = "default";
821                 pinctrl-0 = <&i2s_8ch_bus>;       816                 pinctrl-0 = <&i2s_8ch_bus>;
822                 #sound-dai-cells = <0>;        << 
823                 status = "disabled";              817                 status = "disabled";
824         };                                        818         };
825                                                   819 
826         iep_mmu: iommu@ff900800 {                 820         iep_mmu: iommu@ff900800 {
827                 compatible = "rockchip,iommu";    821                 compatible = "rockchip,iommu";
828                 reg = <0x0 0xff900800 0x0 0x10    822                 reg = <0x0 0xff900800 0x0 0x100>;
829                 interrupts = <GIC_SPI 17 IRQ_T    823                 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
830                 clocks = <&cru ACLK_IEP>, <&cr    824                 clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
831                 clock-names = "aclk", "iface";    825                 clock-names = "aclk", "iface";
832                 power-domains = <&power RK3368    826                 power-domains = <&power RK3368_PD_VIO>;
833                 #iommu-cells = <0>;               827                 #iommu-cells = <0>;
834                 status = "disabled";              828                 status = "disabled";
835         };                                        829         };
836                                                   830 
837         isp_mmu: iommu@ff914000 {                 831         isp_mmu: iommu@ff914000 {
838                 compatible = "rockchip,iommu";    832                 compatible = "rockchip,iommu";
839                 reg = <0x0 0xff914000 0x0 0x10    833                 reg = <0x0 0xff914000 0x0 0x100>,
840                       <0x0 0xff915000 0x0 0x10    834                       <0x0 0xff915000 0x0 0x100>;
841                 interrupts = <GIC_SPI 14 IRQ_T    835                 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
842                 clocks = <&cru ACLK_ISP>, <&cr    836                 clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>;
843                 clock-names = "aclk", "iface";    837                 clock-names = "aclk", "iface";
844                 #iommu-cells = <0>;               838                 #iommu-cells = <0>;
845                 power-domains = <&power RK3368    839                 power-domains = <&power RK3368_PD_VIO>;
846                 rockchip,disable-mmu-reset;       840                 rockchip,disable-mmu-reset;
847                 status = "disabled";              841                 status = "disabled";
848         };                                        842         };
849                                                   843 
850         vop_mmu: iommu@ff930300 {                 844         vop_mmu: iommu@ff930300 {
851                 compatible = "rockchip,iommu";    845                 compatible = "rockchip,iommu";
852                 reg = <0x0 0xff930300 0x0 0x10    846                 reg = <0x0 0xff930300 0x0 0x100>;
853                 interrupts = <GIC_SPI 15 IRQ_T    847                 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
854                 clocks = <&cru ACLK_VOP>, <&cr    848                 clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
855                 clock-names = "aclk", "iface";    849                 clock-names = "aclk", "iface";
856                 power-domains = <&power RK3368    850                 power-domains = <&power RK3368_PD_VIO>;
857                 #iommu-cells = <0>;               851                 #iommu-cells = <0>;
858                 status = "disabled";              852                 status = "disabled";
859         };                                        853         };
860                                                   854 
861         hevc_mmu: iommu@ff9a0440 {                855         hevc_mmu: iommu@ff9a0440 {
862                 compatible = "rockchip,iommu";    856                 compatible = "rockchip,iommu";
863                 reg = <0x0 0xff9a0440 0x0 0x40    857                 reg = <0x0 0xff9a0440 0x0 0x40>,
864                       <0x0 0xff9a0480 0x0 0x40    858                       <0x0 0xff9a0480 0x0 0x40>;
865                 interrupts = <GIC_SPI 12 IRQ_T    859                 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
866                 clocks = <&cru ACLK_VIDEO>, <&    860                 clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
867                 clock-names = "aclk", "iface";    861                 clock-names = "aclk", "iface";
868                 #iommu-cells = <0>;               862                 #iommu-cells = <0>;
869                 status = "disabled";              863                 status = "disabled";
870         };                                        864         };
871                                                   865 
872         vpu_mmu: iommu@ff9a0800 {                 866         vpu_mmu: iommu@ff9a0800 {
873                 compatible = "rockchip,iommu";    867                 compatible = "rockchip,iommu";
874                 reg = <0x0 0xff9a0800 0x0 0x10    868                 reg = <0x0 0xff9a0800 0x0 0x100>;
875                 interrupts = <GIC_SPI 9 IRQ_TY    869                 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
876                              <GIC_SPI 10 IRQ_T    870                              <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
877                 clocks = <&cru ACLK_VIDEO>, <&    871                 clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
878                 clock-names = "aclk", "iface";    872                 clock-names = "aclk", "iface";
879                 #iommu-cells = <0>;               873                 #iommu-cells = <0>;
880                 status = "disabled";              874                 status = "disabled";
881         };                                        875         };
882                                                   876 
883         qos_iep: qos@ffad0000 {                   877         qos_iep: qos@ffad0000 {
884                 compatible = "rockchip,rk3368-    878                 compatible = "rockchip,rk3368-qos", "syscon";
885                 reg = <0x0 0xffad0000 0x0 0x20    879                 reg = <0x0 0xffad0000 0x0 0x20>;
886         };                                        880         };
887                                                   881 
888         qos_isp_r0: qos@ffad0080 {                882         qos_isp_r0: qos@ffad0080 {
889                 compatible = "rockchip,rk3368-    883                 compatible = "rockchip,rk3368-qos", "syscon";
890                 reg = <0x0 0xffad0080 0x0 0x20    884                 reg = <0x0 0xffad0080 0x0 0x20>;
891         };                                        885         };
892                                                   886 
893         qos_isp_r1: qos@ffad0100 {                887         qos_isp_r1: qos@ffad0100 {
894                 compatible = "rockchip,rk3368-    888                 compatible = "rockchip,rk3368-qos", "syscon";
895                 reg = <0x0 0xffad0100 0x0 0x20    889                 reg = <0x0 0xffad0100 0x0 0x20>;
896         };                                        890         };
897                                                   891 
898         qos_isp_w0: qos@ffad0180 {                892         qos_isp_w0: qos@ffad0180 {
899                 compatible = "rockchip,rk3368-    893                 compatible = "rockchip,rk3368-qos", "syscon";
900                 reg = <0x0 0xffad0180 0x0 0x20    894                 reg = <0x0 0xffad0180 0x0 0x20>;
901         };                                        895         };
902                                                   896 
903         qos_isp_w1: qos@ffad0200 {                897         qos_isp_w1: qos@ffad0200 {
904                 compatible = "rockchip,rk3368-    898                 compatible = "rockchip,rk3368-qos", "syscon";
905                 reg = <0x0 0xffad0200 0x0 0x20    899                 reg = <0x0 0xffad0200 0x0 0x20>;
906         };                                        900         };
907                                                   901 
908         qos_vip: qos@ffad0280 {                   902         qos_vip: qos@ffad0280 {
909                 compatible = "rockchip,rk3368-    903                 compatible = "rockchip,rk3368-qos", "syscon";
910                 reg = <0x0 0xffad0280 0x0 0x20    904                 reg = <0x0 0xffad0280 0x0 0x20>;
911         };                                        905         };
912                                                   906 
913         qos_vop: qos@ffad0300 {                   907         qos_vop: qos@ffad0300 {
914                 compatible = "rockchip,rk3368-    908                 compatible = "rockchip,rk3368-qos", "syscon";
915                 reg = <0x0 0xffad0300 0x0 0x20    909                 reg = <0x0 0xffad0300 0x0 0x20>;
916         };                                        910         };
917                                                   911 
918         qos_rga_r: qos@ffad0380 {                 912         qos_rga_r: qos@ffad0380 {
919                 compatible = "rockchip,rk3368-    913                 compatible = "rockchip,rk3368-qos", "syscon";
920                 reg = <0x0 0xffad0380 0x0 0x20    914                 reg = <0x0 0xffad0380 0x0 0x20>;
921         };                                        915         };
922                                                   916 
923         qos_rga_w: qos@ffad0400 {                 917         qos_rga_w: qos@ffad0400 {
924                 compatible = "rockchip,rk3368-    918                 compatible = "rockchip,rk3368-qos", "syscon";
925                 reg = <0x0 0xffad0400 0x0 0x20    919                 reg = <0x0 0xffad0400 0x0 0x20>;
926         };                                        920         };
927                                                   921 
928         qos_hevc_r: qos@ffae0000 {                922         qos_hevc_r: qos@ffae0000 {
929                 compatible = "rockchip,rk3368-    923                 compatible = "rockchip,rk3368-qos", "syscon";
930                 reg = <0x0 0xffae0000 0x0 0x20    924                 reg = <0x0 0xffae0000 0x0 0x20>;
931         };                                        925         };
932                                                   926 
933         qos_vpu_r: qos@ffae0100 {                 927         qos_vpu_r: qos@ffae0100 {
934                 compatible = "rockchip,rk3368-    928                 compatible = "rockchip,rk3368-qos", "syscon";
935                 reg = <0x0 0xffae0100 0x0 0x20    929                 reg = <0x0 0xffae0100 0x0 0x20>;
936         };                                        930         };
937                                                   931 
938         qos_vpu_w: qos@ffae0180 {                 932         qos_vpu_w: qos@ffae0180 {
939                 compatible = "rockchip,rk3368-    933                 compatible = "rockchip,rk3368-qos", "syscon";
940                 reg = <0x0 0xffae0180 0x0 0x20    934                 reg = <0x0 0xffae0180 0x0 0x20>;
941         };                                        935         };
942                                                   936 
943         qos_gpu: qos@ffaf0000 {                   937         qos_gpu: qos@ffaf0000 {
944                 compatible = "rockchip,rk3368-    938                 compatible = "rockchip,rk3368-qos", "syscon";
945                 reg = <0x0 0xffaf0000 0x0 0x20    939                 reg = <0x0 0xffaf0000 0x0 0x20>;
946         };                                        940         };
947                                                   941 
948         efuse256: efuse@ffb00000 {                942         efuse256: efuse@ffb00000 {
949                 compatible = "rockchip,rk3368-    943                 compatible = "rockchip,rk3368-efuse";
950                 reg = <0x0 0xffb00000 0x0 0x20    944                 reg = <0x0 0xffb00000 0x0 0x20>;
951                 #address-cells = <1>;             945                 #address-cells = <1>;
952                 #size-cells = <1>;                946                 #size-cells = <1>;
953                 clocks = <&cru PCLK_EFUSE256>;    947                 clocks = <&cru PCLK_EFUSE256>;
954                 clock-names = "pclk_efuse";       948                 clock-names = "pclk_efuse";
955                                                   949 
956                 cpu_leakage: cpu-leakage@17 {     950                 cpu_leakage: cpu-leakage@17 {
957                         reg = <0x17 0x1>;         951                         reg = <0x17 0x1>;
958                 };                                952                 };
959                 temp_adjust: temp-adjust@1f {     953                 temp_adjust: temp-adjust@1f {
960                         reg = <0x1f 0x1>;         954                         reg = <0x1f 0x1>;
961                 };                                955                 };
962         };                                        956         };
963                                                   957 
964         gic: interrupt-controller@ffb71000 {      958         gic: interrupt-controller@ffb71000 {
965                 compatible = "arm,gic-400";       959                 compatible = "arm,gic-400";
966                 interrupt-controller;             960                 interrupt-controller;
967                 #interrupt-cells = <3>;           961                 #interrupt-cells = <3>;
968                 #address-cells = <0>;             962                 #address-cells = <0>;
969                                                   963 
970                 reg = <0x0 0xffb71000 0x0 0x10    964                 reg = <0x0 0xffb71000 0x0 0x1000>,
971                       <0x0 0xffb72000 0x0 0x20    965                       <0x0 0xffb72000 0x0 0x2000>,
972                       <0x0 0xffb74000 0x0 0x20    966                       <0x0 0xffb74000 0x0 0x2000>,
973                       <0x0 0xffb76000 0x0 0x20    967                       <0x0 0xffb76000 0x0 0x2000>;
974                 interrupts = <GIC_PPI 9           968                 interrupts = <GIC_PPI 9
975                       (GIC_CPU_MASK_SIMPLE(8)     969                       (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
976         };                                        970         };
977                                                   971 
978         pinctrl: pinctrl {                        972         pinctrl: pinctrl {
979                 compatible = "rockchip,rk3368-    973                 compatible = "rockchip,rk3368-pinctrl";
980                 rockchip,grf = <&grf>;            974                 rockchip,grf = <&grf>;
981                 rockchip,pmu = <&pmugrf>;         975                 rockchip,pmu = <&pmugrf>;
982                 #address-cells = <0x2>;           976                 #address-cells = <0x2>;
983                 #size-cells = <0x2>;              977                 #size-cells = <0x2>;
984                 ranges;                           978                 ranges;
985                                                   979 
986                 gpio0: gpio@ff750000 {            980                 gpio0: gpio@ff750000 {
987                         compatible = "rockchip    981                         compatible = "rockchip,gpio-bank";
988                         reg = <0x0 0xff750000     982                         reg = <0x0 0xff750000 0x0 0x100>;
989                         clocks = <&cru PCLK_GP    983                         clocks = <&cru PCLK_GPIO0>;
990                         interrupts = <GIC_SPI     984                         interrupts = <GIC_SPI 0x51 IRQ_TYPE_LEVEL_HIGH>;
991                                                   985 
992                         gpio-controller;          986                         gpio-controller;
993                         #gpio-cells = <0x2>;      987                         #gpio-cells = <0x2>;
994                                                   988 
995                         interrupt-controller;     989                         interrupt-controller;
996                         #interrupt-cells = <0x    990                         #interrupt-cells = <0x2>;
997                 };                                991                 };
998                                                   992 
999                 gpio1: gpio@ff780000 {            993                 gpio1: gpio@ff780000 {
1000                         compatible = "rockchi    994                         compatible = "rockchip,gpio-bank";
1001                         reg = <0x0 0xff780000    995                         reg = <0x0 0xff780000 0x0 0x100>;
1002                         clocks = <&cru PCLK_G    996                         clocks = <&cru PCLK_GPIO1>;
1003                         interrupts = <GIC_SPI    997                         interrupts = <GIC_SPI 0x52 IRQ_TYPE_LEVEL_HIGH>;
1004                                                  998 
1005                         gpio-controller;         999                         gpio-controller;
1006                         #gpio-cells = <0x2>;     1000                         #gpio-cells = <0x2>;
1007                                                  1001 
1008                         interrupt-controller;    1002                         interrupt-controller;
1009                         #interrupt-cells = <0    1003                         #interrupt-cells = <0x2>;
1010                 };                               1004                 };
1011                                                  1005 
1012                 gpio2: gpio@ff790000 {           1006                 gpio2: gpio@ff790000 {
1013                         compatible = "rockchi    1007                         compatible = "rockchip,gpio-bank";
1014                         reg = <0x0 0xff790000    1008                         reg = <0x0 0xff790000 0x0 0x100>;
1015                         clocks = <&cru PCLK_G    1009                         clocks = <&cru PCLK_GPIO2>;
1016                         interrupts = <GIC_SPI    1010                         interrupts = <GIC_SPI 0x53 IRQ_TYPE_LEVEL_HIGH>;
1017                                                  1011 
1018                         gpio-controller;         1012                         gpio-controller;
1019                         #gpio-cells = <0x2>;     1013                         #gpio-cells = <0x2>;
1020                                                  1014 
1021                         interrupt-controller;    1015                         interrupt-controller;
1022                         #interrupt-cells = <0    1016                         #interrupt-cells = <0x2>;
1023                 };                               1017                 };
1024                                                  1018 
1025                 gpio3: gpio@ff7a0000 {           1019                 gpio3: gpio@ff7a0000 {
1026                         compatible = "rockchi    1020                         compatible = "rockchip,gpio-bank";
1027                         reg = <0x0 0xff7a0000    1021                         reg = <0x0 0xff7a0000 0x0 0x100>;
1028                         clocks = <&cru PCLK_G    1022                         clocks = <&cru PCLK_GPIO3>;
1029                         interrupts = <GIC_SPI    1023                         interrupts = <GIC_SPI 0x54 IRQ_TYPE_LEVEL_HIGH>;
1030                                                  1024 
1031                         gpio-controller;         1025                         gpio-controller;
1032                         #gpio-cells = <0x2>;     1026                         #gpio-cells = <0x2>;
1033                                                  1027 
1034                         interrupt-controller;    1028                         interrupt-controller;
1035                         #interrupt-cells = <0    1029                         #interrupt-cells = <0x2>;
1036                 };                               1030                 };
1037                                                  1031 
1038                 pcfg_pull_up: pcfg-pull-up {     1032                 pcfg_pull_up: pcfg-pull-up {
1039                         bias-pull-up;            1033                         bias-pull-up;
1040                 };                               1034                 };
1041                                                  1035 
1042                 pcfg_pull_down: pcfg-pull-dow    1036                 pcfg_pull_down: pcfg-pull-down {
1043                         bias-pull-down;          1037                         bias-pull-down;
1044                 };                               1038                 };
1045                                                  1039 
1046                 pcfg_pull_none: pcfg-pull-non    1040                 pcfg_pull_none: pcfg-pull-none {
1047                         bias-disable;            1041                         bias-disable;
1048                 };                               1042                 };
1049                                                  1043 
1050                 pcfg_pull_none_12ma: pcfg-pul    1044                 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1051                         bias-disable;            1045                         bias-disable;
1052                         drive-strength = <12>    1046                         drive-strength = <12>;
1053                 };                               1047                 };
1054                                                  1048 
1055                 emmc {                           1049                 emmc {
1056                         emmc_clk: emmc-clk {     1050                         emmc_clk: emmc-clk {
1057                                 rockchip,pins    1051                                 rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>;
1058                         };                       1052                         };
1059                                                  1053 
1060                         emmc_cmd: emmc-cmd {     1054                         emmc_cmd: emmc-cmd {
1061                                 rockchip,pins    1055                                 rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up>;
1062                         };                       1056                         };
1063                                                  1057 
1064                         emmc_pwr: emmc-pwr {     1058                         emmc_pwr: emmc-pwr {
1065                                 rockchip,pins    1059                                 rockchip,pins = <1 RK_PD3 2 &pcfg_pull_up>;
1066                         };                       1060                         };
1067                                                  1061 
1068                         emmc_bus1: emmc-bus1     1062                         emmc_bus1: emmc-bus1 {
1069                                 rockchip,pins    1063                                 rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>;
1070                         };                       1064                         };
1071                                                  1065 
1072                         emmc_bus4: emmc-bus4     1066                         emmc_bus4: emmc-bus4 {
1073                                 rockchip,pins    1067                                 rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
1074                                                  1068                                                 <1 RK_PC3 2 &pcfg_pull_up>,
1075                                                  1069                                                 <1 RK_PC4 2 &pcfg_pull_up>,
1076                                                  1070                                                 <1 RK_PC5 2 &pcfg_pull_up>;
1077                         };                       1071                         };
1078                                                  1072 
1079                         emmc_bus8: emmc-bus8     1073                         emmc_bus8: emmc-bus8 {
1080                                 rockchip,pins    1074                                 rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
1081                                                  1075                                                 <1 RK_PC3 2 &pcfg_pull_up>,
1082                                                  1076                                                 <1 RK_PC4 2 &pcfg_pull_up>,
1083                                                  1077                                                 <1 RK_PC5 2 &pcfg_pull_up>,
1084                                                  1078                                                 <1 RK_PC6 2 &pcfg_pull_up>,
1085                                                  1079                                                 <1 RK_PC7 2 &pcfg_pull_up>,
1086                                                  1080                                                 <1 RK_PD0 2 &pcfg_pull_up>,
1087                                                  1081                                                 <1 RK_PD1 2 &pcfg_pull_up>;
1088                         };                       1082                         };
1089                 };                               1083                 };
1090                                                  1084 
1091                 gmac {                           1085                 gmac {
1092                         rgmii_pins: rgmii-pin    1086                         rgmii_pins: rgmii-pins {
1093                                 rockchip,pins    1087                                 rockchip,pins = <3 RK_PC6 1 &pcfg_pull_none>,
1094                                                  1088                                                 <3 RK_PD0 1 &pcfg_pull_none>,
1095                                                  1089                                                 <3 RK_PC3 1 &pcfg_pull_none>,
1096                                                  1090                                                 <3 RK_PB0 1 &pcfg_pull_none_12ma>,
1097                                                  1091                                                 <3 RK_PB1 1 &pcfg_pull_none_12ma>,
1098                                                  1092                                                 <3 RK_PB2 1 &pcfg_pull_none_12ma>,
1099                                                  1093                                                 <3 RK_PB6 1 &pcfg_pull_none_12ma>,
1100                                                  1094                                                 <3 RK_PD4 1 &pcfg_pull_none_12ma>,
1101                                                  1095                                                 <3 RK_PB5 1 &pcfg_pull_none_12ma>,
1102                                                  1096                                                 <3 RK_PB7 1 &pcfg_pull_none>,
1103                                                  1097                                                 <3 RK_PC0 1 &pcfg_pull_none>,
1104                                                  1098                                                 <3 RK_PC1 1 &pcfg_pull_none>,
1105                                                  1099                                                 <3 RK_PC2 1 &pcfg_pull_none>,
1106                                                  1100                                                 <3 RK_PD1 1 &pcfg_pull_none>,
1107                                                  1101                                                 <3 RK_PC4 1 &pcfg_pull_none>;
1108                         };                       1102                         };
1109                                                  1103 
1110                         rmii_pins: rmii-pins     1104                         rmii_pins: rmii-pins {
1111                                 rockchip,pins    1105                                 rockchip,pins = <3 RK_PC6 1 &pcfg_pull_none>,
1112                                                  1106                                                 <3 RK_PD0 1 &pcfg_pull_none>,
1113                                                  1107                                                 <3 RK_PC3 1 &pcfg_pull_none>,
1114                                                  1108                                                 <3 RK_PB0 1 &pcfg_pull_none_12ma>,
1115                                                  1109                                                 <3 RK_PB1 1 &pcfg_pull_none_12ma>,
1116                                                  1110                                                 <3 RK_PB5 1 &pcfg_pull_none_12ma>,
1117                                                  1111                                                 <3 RK_PB7 1 &pcfg_pull_none>,
1118                                                  1112                                                 <3 RK_PC0 1 &pcfg_pull_none>,
1119                                                  1113                                                 <3 RK_PC4 1 &pcfg_pull_none>,
1120                                                  1114                                                 <3 RK_PC5 1 &pcfg_pull_none>;
1121                         };                       1115                         };
1122                 };                               1116                 };
1123                                                  1117 
1124                 i2c0 {                           1118                 i2c0 {
1125                         i2c0_xfer: i2c0-xfer     1119                         i2c0_xfer: i2c0-xfer {
1126                                 rockchip,pins    1120                                 rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>,
1127                                                  1121                                                 <0 RK_PA7 1 &pcfg_pull_none>;
1128                         };                       1122                         };
1129                 };                               1123                 };
1130                                                  1124 
1131                 i2c1 {                           1125                 i2c1 {
1132                         i2c1_xfer: i2c1-xfer     1126                         i2c1_xfer: i2c1-xfer {
1133                                 rockchip,pins    1127                                 rockchip,pins = <2 RK_PC5 1 &pcfg_pull_none>,
1134                                                  1128                                                 <2 RK_PC6 1 &pcfg_pull_none>;
1135                         };                       1129                         };
1136                 };                               1130                 };
1137                                                  1131 
1138                 i2c2 {                           1132                 i2c2 {
1139                         i2c2_xfer: i2c2-xfer     1133                         i2c2_xfer: i2c2-xfer {
1140                                 rockchip,pins    1134                                 rockchip,pins = <0 RK_PB1 2 &pcfg_pull_none>,
1141                                                  1135                                                 <3 RK_PD7 2 &pcfg_pull_none>;
1142                         };                       1136                         };
1143                 };                               1137                 };
1144                                                  1138 
1145                 i2c3 {                           1139                 i2c3 {
1146                         i2c3_xfer: i2c3-xfer     1140                         i2c3_xfer: i2c3-xfer {
1147                                 rockchip,pins    1141                                 rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>,
1148                                                  1142                                                 <1 RK_PC1 1 &pcfg_pull_none>;
1149                         };                       1143                         };
1150                 };                               1144                 };
1151                                                  1145 
1152                 i2c4 {                           1146                 i2c4 {
1153                         i2c4_xfer: i2c4-xfer     1147                         i2c4_xfer: i2c4-xfer {
1154                                 rockchip,pins    1148                                 rockchip,pins = <3 RK_PD0 2 &pcfg_pull_none>,
1155                                                  1149                                                 <3 RK_PD1 2 &pcfg_pull_none>;
1156                         };                       1150                         };
1157                 };                               1151                 };
1158                                                  1152 
1159                 i2c5 {                           1153                 i2c5 {
1160                         i2c5_xfer: i2c5-xfer     1154                         i2c5_xfer: i2c5-xfer {
1161                                 rockchip,pins    1155                                 rockchip,pins = <3 RK_PD2 2 &pcfg_pull_none>,
1162                                                  1156                                                 <3 RK_PD3 2 &pcfg_pull_none>;
1163                         };                       1157                         };
1164                 };                               1158                 };
1165                                                  1159 
1166                 i2s {                            1160                 i2s {
1167                         i2s_8ch_bus: i2s-8ch-    1161                         i2s_8ch_bus: i2s-8ch-bus {
1168                                 rockchip,pins    1162                                 rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>,
1169                                                  1163                                                 <2 RK_PB5 1 &pcfg_pull_none>,
1170                                                  1164                                                 <2 RK_PB6 1 &pcfg_pull_none>,
1171                                                  1165                                                 <2 RK_PB7 1 &pcfg_pull_none>,
1172                                                  1166                                                 <2 RK_PC0 1 &pcfg_pull_none>,
1173                                                  1167                                                 <2 RK_PC1 1 &pcfg_pull_none>,
1174                                                  1168                                                 <2 RK_PC2 1 &pcfg_pull_none>,
1175                                                  1169                                                 <2 RK_PC3 1 &pcfg_pull_none>,
1176                                                  1170                                                 <2 RK_PC4 1 &pcfg_pull_none>;
1177                         };                       1171                         };
1178                 };                               1172                 };
1179                                                  1173 
1180                 pwm0 {                           1174                 pwm0 {
1181                         pwm0_pin: pwm0-pin {     1175                         pwm0_pin: pwm0-pin {
1182                                 rockchip,pins    1176                                 rockchip,pins = <3 RK_PB0 2 &pcfg_pull_none>;
1183                         };                       1177                         };
1184                 };                               1178                 };
1185                                                  1179 
1186                 pwm1 {                           1180                 pwm1 {
1187                         pwm1_pin: pwm1-pin {     1181                         pwm1_pin: pwm1-pin {
1188                                 rockchip,pins    1182                                 rockchip,pins = <0 RK_PB0 2 &pcfg_pull_none>;
1189                         };                       1183                         };
1190                 };                               1184                 };
1191                                                  1185 
1192                 pwm3 {                           1186                 pwm3 {
1193                         pwm3_pin: pwm3-pin {     1187                         pwm3_pin: pwm3-pin {
1194                                 rockchip,pins    1188                                 rockchip,pins = <3 RK_PD5 3 &pcfg_pull_none>;
1195                         };                       1189                         };
1196                 };                               1190                 };
1197                                                  1191 
1198                 sdio0 {                          1192                 sdio0 {
1199                         sdio0_bus1: sdio0-bus    1193                         sdio0_bus1: sdio0-bus1 {
1200                                 rockchip,pins    1194                                 rockchip,pins = <2 RK_PD4 1 &pcfg_pull_up>;
1201                         };                       1195                         };
1202                                                  1196 
1203                         sdio0_bus4: sdio0-bus    1197                         sdio0_bus4: sdio0-bus4 {
1204                                 rockchip,pins    1198                                 rockchip,pins = <2 RK_PD4 1 &pcfg_pull_up>,
1205                                                  1199                                                 <2 RK_PD5 1 &pcfg_pull_up>,
1206                                                  1200                                                 <2 RK_PD6 1 &pcfg_pull_up>,
1207                                                  1201                                                 <2 RK_PD7 1 &pcfg_pull_up>;
1208                         };                       1202                         };
1209                                                  1203 
1210                         sdio0_cmd: sdio0-cmd     1204                         sdio0_cmd: sdio0-cmd {
1211                                 rockchip,pins    1205                                 rockchip,pins = <3 RK_PA0 1 &pcfg_pull_up>;
1212                         };                       1206                         };
1213                                                  1207 
1214                         sdio0_clk: sdio0-clk     1208                         sdio0_clk: sdio0-clk {
1215                                 rockchip,pins    1209                                 rockchip,pins = <3 RK_PA1 1 &pcfg_pull_none>;
1216                         };                       1210                         };
1217                                                  1211 
1218                         sdio0_cd: sdio0-cd {     1212                         sdio0_cd: sdio0-cd {
1219                                 rockchip,pins    1213                                 rockchip,pins = <3 RK_PA2 1 &pcfg_pull_up>;
1220                         };                       1214                         };
1221                                                  1215 
1222                         sdio0_wp: sdio0-wp {     1216                         sdio0_wp: sdio0-wp {
1223                                 rockchip,pins    1217                                 rockchip,pins = <3 RK_PA3 1 &pcfg_pull_up>;
1224                         };                       1218                         };
1225                                                  1219 
1226                         sdio0_pwr: sdio0-pwr     1220                         sdio0_pwr: sdio0-pwr {
1227                                 rockchip,pins    1221                                 rockchip,pins = <3 RK_PA4 1 &pcfg_pull_up>;
1228                         };                       1222                         };
1229                                                  1223 
1230                         sdio0_bkpwr: sdio0-bk    1224                         sdio0_bkpwr: sdio0-bkpwr {
1231                                 rockchip,pins    1225                                 rockchip,pins = <3 RK_PA5 1 &pcfg_pull_up>;
1232                         };                       1226                         };
1233                                                  1227 
1234                         sdio0_int: sdio0-int     1228                         sdio0_int: sdio0-int {
1235                                 rockchip,pins    1229                                 rockchip,pins = <3 RK_PA6 1 &pcfg_pull_up>;
1236                         };                       1230                         };
1237                 };                               1231                 };
1238                                                  1232 
1239                 sdmmc {                          1233                 sdmmc {
1240                         sdmmc_clk: sdmmc-clk     1234                         sdmmc_clk: sdmmc-clk {
1241                                 rockchip,pins    1235                                 rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>;
1242                         };                       1236                         };
1243                                                  1237 
1244                         sdmmc_cmd: sdmmc-cmd     1238                         sdmmc_cmd: sdmmc-cmd {
1245                                 rockchip,pins    1239                                 rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up>;
1246                         };                       1240                         };
1247                                                  1241 
1248                         sdmmc_cd: sdmmc-cd {     1242                         sdmmc_cd: sdmmc-cd {
1249                                 rockchip,pins    1243                                 rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up>;
1250                         };                       1244                         };
1251                                                  1245 
1252                         sdmmc_bus1: sdmmc-bus    1246                         sdmmc_bus1: sdmmc-bus1 {
1253                                 rockchip,pins    1247                                 rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up>;
1254                         };                       1248                         };
1255                                                  1249 
1256                         sdmmc_bus4: sdmmc-bus    1250                         sdmmc_bus4: sdmmc-bus4 {
1257                                 rockchip,pins    1251                                 rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up>,
1258                                                  1252                                                 <2 RK_PA6 1 &pcfg_pull_up>,
1259                                                  1253                                                 <2 RK_PA7 1 &pcfg_pull_up>,
1260                                                  1254                                                 <2 RK_PB0 1 &pcfg_pull_up>;
1261                         };                       1255                         };
1262                 };                               1256                 };
1263                                                  1257 
1264                 spdif {                          1258                 spdif {
1265                         spdif_tx: spdif-tx {     1259                         spdif_tx: spdif-tx {
1266                                 rockchip,pins    1260                                 rockchip,pins = <2 RK_PC7 1 &pcfg_pull_none>;
1267                         };                       1261                         };
1268                 };                               1262                 };
1269                                                  1263 
1270                 spi0 {                           1264                 spi0 {
1271                         spi0_clk: spi0-clk {     1265                         spi0_clk: spi0-clk {
1272                                 rockchip,pins    1266                                 rockchip,pins = <1 RK_PD5 2 &pcfg_pull_up>;
1273                         };                       1267                         };
1274                         spi0_cs0: spi0-cs0 {     1268                         spi0_cs0: spi0-cs0 {
1275                                 rockchip,pins    1269                                 rockchip,pins = <1 RK_PD0 3 &pcfg_pull_up>;
1276                         };                       1270                         };
1277                         spi0_cs1: spi0-cs1 {     1271                         spi0_cs1: spi0-cs1 {
1278                                 rockchip,pins    1272                                 rockchip,pins = <1 RK_PD1 3 &pcfg_pull_up>;
1279                         };                       1273                         };
1280                         spi0_tx: spi0-tx {       1274                         spi0_tx: spi0-tx {
1281                                 rockchip,pins    1275                                 rockchip,pins = <1 RK_PC7 3 &pcfg_pull_up>;
1282                         };                       1276                         };
1283                         spi0_rx: spi0-rx {       1277                         spi0_rx: spi0-rx {
1284                                 rockchip,pins    1278                                 rockchip,pins = <1 RK_PC6 3 &pcfg_pull_up>;
1285                         };                       1279                         };
1286                 };                               1280                 };
1287                                                  1281 
1288                 spi1 {                           1282                 spi1 {
1289                         spi1_clk: spi1-clk {     1283                         spi1_clk: spi1-clk {
1290                                 rockchip,pins    1284                                 rockchip,pins = <1 RK_PB6 2 &pcfg_pull_up>;
1291                         };                       1285                         };
1292                         spi1_cs0: spi1-cs0 {     1286                         spi1_cs0: spi1-cs0 {
1293                                 rockchip,pins    1287                                 rockchip,pins = <1 RK_PB7 2 &pcfg_pull_up>;
1294                         };                       1288                         };
1295                         spi1_cs1: spi1-cs1 {     1289                         spi1_cs1: spi1-cs1 {
1296                                 rockchip,pins    1290                                 rockchip,pins = <3 RK_PD4 2 &pcfg_pull_up>;
1297                         };                       1291                         };
1298                         spi1_rx: spi1-rx {       1292                         spi1_rx: spi1-rx {
1299                                 rockchip,pins    1293                                 rockchip,pins = <1 RK_PC0 2 &pcfg_pull_up>;
1300                         };                       1294                         };
1301                         spi1_tx: spi1-tx {       1295                         spi1_tx: spi1-tx {
1302                                 rockchip,pins    1296                                 rockchip,pins = <1 RK_PC1 2 &pcfg_pull_up>;
1303                         };                       1297                         };
1304                 };                               1298                 };
1305                                                  1299 
1306                 spi2 {                           1300                 spi2 {
1307                         spi2_clk: spi2-clk {     1301                         spi2_clk: spi2-clk {
1308                                 rockchip,pins    1302                                 rockchip,pins = <0 RK_PB4 2 &pcfg_pull_up>;
1309                         };                       1303                         };
1310                         spi2_cs0: spi2-cs0 {     1304                         spi2_cs0: spi2-cs0 {
1311                                 rockchip,pins    1305                                 rockchip,pins = <0 RK_PB5 2 &pcfg_pull_up>;
1312                         };                       1306                         };
1313                         spi2_rx: spi2-rx {       1307                         spi2_rx: spi2-rx {
1314                                 rockchip,pins    1308                                 rockchip,pins = <0 RK_PB2 2 &pcfg_pull_up>;
1315                         };                       1309                         };
1316                         spi2_tx: spi2-tx {       1310                         spi2_tx: spi2-tx {
1317                                 rockchip,pins    1311                                 rockchip,pins = <0 RK_PB3 2 &pcfg_pull_up>;
1318                         };                       1312                         };
1319                 };                               1313                 };
1320                                                  1314 
1321                 tsadc {                          1315                 tsadc {
1322                         otp_pin: otp-pin {       1316                         otp_pin: otp-pin {
1323                                 rockchip,pins    1317                                 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
1324                         };                       1318                         };
1325                                                  1319 
1326                         otp_out: otp-out {       1320                         otp_out: otp-out {
1327                                 rockchip,pins    1321                                 rockchip,pins = <0 RK_PA3 1 &pcfg_pull_none>;
1328                         };                       1322                         };
1329                 };                               1323                 };
1330                                                  1324 
1331                 uart0 {                          1325                 uart0 {
1332                         uart0_xfer: uart0-xfe    1326                         uart0_xfer: uart0-xfer {
1333                                 rockchip,pins    1327                                 rockchip,pins = <2 RK_PD0 1 &pcfg_pull_up>,
1334                                                  1328                                                 <2 RK_PD1 1 &pcfg_pull_none>;
1335                         };                       1329                         };
1336                                                  1330 
1337                         uart0_cts: uart0-cts     1331                         uart0_cts: uart0-cts {
1338                                 rockchip,pins    1332                                 rockchip,pins = <2 RK_PD2 1 &pcfg_pull_none>;
1339                         };                       1333                         };
1340                                                  1334 
1341                         uart0_rts: uart0-rts     1335                         uart0_rts: uart0-rts {
1342                                 rockchip,pins    1336                                 rockchip,pins = <2 RK_PD3 1 &pcfg_pull_none>;
1343                         };                       1337                         };
1344                 };                               1338                 };
1345                                                  1339 
1346                 uart1 {                          1340                 uart1 {
1347                         uart1_xfer: uart1-xfe    1341                         uart1_xfer: uart1-xfer {
1348                                 rockchip,pins    1342                                 rockchip,pins = <0 RK_PC4 3 &pcfg_pull_up>,
1349                                                  1343                                                 <0 RK_PC5 3 &pcfg_pull_none>;
1350                         };                       1344                         };
1351                                                  1345 
1352                         uart1_cts: uart1-cts     1346                         uart1_cts: uart1-cts {
1353                                 rockchip,pins    1347                                 rockchip,pins = <0 RK_PC6 3 &pcfg_pull_none>;
1354                         };                       1348                         };
1355                                                  1349 
1356                         uart1_rts: uart1-rts     1350                         uart1_rts: uart1-rts {
1357                                 rockchip,pins    1351                                 rockchip,pins = <0 RK_PC7 3 &pcfg_pull_none>;
1358                         };                       1352                         };
1359                 };                               1353                 };
1360                                                  1354 
1361                 uart2 {                          1355                 uart2 {
1362                         uart2_xfer: uart2-xfe    1356                         uart2_xfer: uart2-xfer {
1363                                 rockchip,pins    1357                                 rockchip,pins = <2 RK_PA6 2 &pcfg_pull_up>,
1364                                                  1358                                                 <2 RK_PA5 2 &pcfg_pull_none>;
1365                         };                       1359                         };
1366                         /* no rts / cts for u    1360                         /* no rts / cts for uart2 */
1367                 };                               1361                 };
1368                                                  1362 
1369                 uart3 {                          1363                 uart3 {
1370                         uart3_xfer: uart3-xfe    1364                         uart3_xfer: uart3-xfer {
1371                                 rockchip,pins    1365                                 rockchip,pins = <3 RK_PD5 2 &pcfg_pull_up>,
1372                                                  1366                                                 <3 RK_PD6 3 &pcfg_pull_none>;
1373                         };                       1367                         };
1374                                                  1368 
1375                         uart3_cts: uart3-cts     1369                         uart3_cts: uart3-cts {
1376                                 rockchip,pins    1370                                 rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>;
1377                         };                       1371                         };
1378                                                  1372 
1379                         uart3_rts: uart3-rts     1373                         uart3_rts: uart3-rts {
1380                                 rockchip,pins    1374                                 rockchip,pins = <3 RK_PC1 2 &pcfg_pull_none>;
1381                         };                       1375                         };
1382                 };                               1376                 };
1383                                                  1377 
1384                 uart4 {                          1378                 uart4 {
1385                         uart4_xfer: uart4-xfe    1379                         uart4_xfer: uart4-xfer {
1386                                 rockchip,pins    1380                                 rockchip,pins = <0 RK_PD3 3 &pcfg_pull_up>,
1387                                                  1381                                                 <0 RK_PD2 3 &pcfg_pull_none>;
1388                         };                       1382                         };
1389                                                  1383 
1390                         uart4_cts: uart4-cts     1384                         uart4_cts: uart4-cts {
1391                                 rockchip,pins    1385                                 rockchip,pins = <0 RK_PD0 3 &pcfg_pull_none>;
1392                         };                       1386                         };
1393                                                  1387 
1394                         uart4_rts: uart4-rts     1388                         uart4_rts: uart4-rts {
1395                                 rockchip,pins    1389                                 rockchip,pins = <0 RK_PD1 3 &pcfg_pull_none>;
1396                         };                       1390                         };
1397                 };                               1391                 };
1398         };                                       1392         };
1399 };                                               1393 };
                                                      

~ [ 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