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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/rockchip/rk322x.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/arm/rockchip/rk322x.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/rockchip/rk322x.dtsi (Architecture mips)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2                                                     2 
  3 #include <dt-bindings/gpio/gpio.h>                  3 #include <dt-bindings/gpio/gpio.h>
  4 #include <dt-bindings/interrupt-controller/irq      4 #include <dt-bindings/interrupt-controller/irq.h>
  5 #include <dt-bindings/interrupt-controller/arm      5 #include <dt-bindings/interrupt-controller/arm-gic.h>
  6 #include <dt-bindings/pinctrl/rockchip.h>           6 #include <dt-bindings/pinctrl/rockchip.h>
  7 #include <dt-bindings/clock/rk3228-cru.h>           7 #include <dt-bindings/clock/rk3228-cru.h>
  8 #include <dt-bindings/thermal/thermal.h>            8 #include <dt-bindings/thermal/thermal.h>
  9 #include <dt-bindings/power/rk3228-power.h>         9 #include <dt-bindings/power/rk3228-power.h>
 10                                                    10 
 11 / {                                                11 / {
 12         #address-cells = <1>;                      12         #address-cells = <1>;
 13         #size-cells = <1>;                         13         #size-cells = <1>;
 14                                                    14 
 15         interrupt-parent = <&gic>;                 15         interrupt-parent = <&gic>;
 16                                                    16 
 17         aliases {                                  17         aliases {
 18                 gpio0 = &gpio0;                    18                 gpio0 = &gpio0;
 19                 gpio1 = &gpio1;                    19                 gpio1 = &gpio1;
 20                 gpio2 = &gpio2;                    20                 gpio2 = &gpio2;
 21                 gpio3 = &gpio3;                    21                 gpio3 = &gpio3;
 22                 serial0 = &uart0;                  22                 serial0 = &uart0;
 23                 serial1 = &uart1;                  23                 serial1 = &uart1;
 24                 serial2 = &uart2;                  24                 serial2 = &uart2;
 25                 spi0 = &spi0;                      25                 spi0 = &spi0;
 26         };                                         26         };
 27                                                    27 
 28         cpus {                                     28         cpus {
 29                 #address-cells = <1>;              29                 #address-cells = <1>;
 30                 #size-cells = <0>;                 30                 #size-cells = <0>;
 31                                                    31 
 32                 cpu0: cpu@f00 {                    32                 cpu0: cpu@f00 {
 33                         device_type = "cpu";       33                         device_type = "cpu";
 34                         compatible = "arm,cort     34                         compatible = "arm,cortex-a7";
 35                         reg = <0xf00>;             35                         reg = <0xf00>;
 36                         resets = <&cru SRST_CO     36                         resets = <&cru SRST_CORE0>;
 37                         operating-points-v2 =      37                         operating-points-v2 = <&cpu0_opp_table>;
 38                         #cooling-cells = <2>;      38                         #cooling-cells = <2>; /* min followed by max */
 39                         clock-latency = <40000     39                         clock-latency = <40000>;
 40                         clocks = <&cru ARMCLK>     40                         clocks = <&cru ARMCLK>;
 41                         enable-method = "psci"     41                         enable-method = "psci";
 42                 };                                 42                 };
 43                                                    43 
 44                 cpu1: cpu@f01 {                    44                 cpu1: cpu@f01 {
 45                         device_type = "cpu";       45                         device_type = "cpu";
 46                         compatible = "arm,cort     46                         compatible = "arm,cortex-a7";
 47                         reg = <0xf01>;             47                         reg = <0xf01>;
 48                         resets = <&cru SRST_CO     48                         resets = <&cru SRST_CORE1>;
 49                         operating-points-v2 =      49                         operating-points-v2 = <&cpu0_opp_table>;
 50                         #cooling-cells = <2>;      50                         #cooling-cells = <2>; /* min followed by max */
 51                         enable-method = "psci"     51                         enable-method = "psci";
 52                 };                                 52                 };
 53                                                    53 
 54                 cpu2: cpu@f02 {                    54                 cpu2: cpu@f02 {
 55                         device_type = "cpu";       55                         device_type = "cpu";
 56                         compatible = "arm,cort     56                         compatible = "arm,cortex-a7";
 57                         reg = <0xf02>;             57                         reg = <0xf02>;
 58                         resets = <&cru SRST_CO     58                         resets = <&cru SRST_CORE2>;
 59                         operating-points-v2 =      59                         operating-points-v2 = <&cpu0_opp_table>;
 60                         #cooling-cells = <2>;      60                         #cooling-cells = <2>; /* min followed by max */
 61                         enable-method = "psci"     61                         enable-method = "psci";
 62                 };                                 62                 };
 63                                                    63 
 64                 cpu3: cpu@f03 {                    64                 cpu3: cpu@f03 {
 65                         device_type = "cpu";       65                         device_type = "cpu";
 66                         compatible = "arm,cort     66                         compatible = "arm,cortex-a7";
 67                         reg = <0xf03>;             67                         reg = <0xf03>;
 68                         resets = <&cru SRST_CO     68                         resets = <&cru SRST_CORE3>;
 69                         operating-points-v2 =      69                         operating-points-v2 = <&cpu0_opp_table>;
 70                         #cooling-cells = <2>;      70                         #cooling-cells = <2>; /* min followed by max */
 71                         enable-method = "psci"     71                         enable-method = "psci";
 72                 };                                 72                 };
 73         };                                         73         };
 74                                                    74 
 75         cpu0_opp_table: opp-table-0 {              75         cpu0_opp_table: opp-table-0 {
 76                 compatible = "operating-points     76                 compatible = "operating-points-v2";
 77                 opp-shared;                        77                 opp-shared;
 78                                                    78 
 79                 opp-408000000 {                    79                 opp-408000000 {
 80                         opp-hz = /bits/ 64 <40     80                         opp-hz = /bits/ 64 <408000000>;
 81                         opp-microvolt = <95000     81                         opp-microvolt = <950000>;
 82                         clock-latency-ns = <40     82                         clock-latency-ns = <40000>;
 83                         opp-suspend;               83                         opp-suspend;
 84                 };                                 84                 };
 85                 opp-600000000 {                    85                 opp-600000000 {
 86                         opp-hz = /bits/ 64 <60     86                         opp-hz = /bits/ 64 <600000000>;
 87                         opp-microvolt = <97500     87                         opp-microvolt = <975000>;
 88                 };                                 88                 };
 89                 opp-816000000 {                    89                 opp-816000000 {
 90                         opp-hz = /bits/ 64 <81     90                         opp-hz = /bits/ 64 <816000000>;
 91                         opp-microvolt = <10000     91                         opp-microvolt = <1000000>;
 92                 };                                 92                 };
 93                 opp-1008000000 {                   93                 opp-1008000000 {
 94                         opp-hz = /bits/ 64 <10     94                         opp-hz = /bits/ 64 <1008000000>;
 95                         opp-microvolt = <11750     95                         opp-microvolt = <1175000>;
 96                 };                                 96                 };
 97                 opp-1200000000 {                   97                 opp-1200000000 {
 98                         opp-hz = /bits/ 64 <12     98                         opp-hz = /bits/ 64 <1200000000>;
 99                         opp-microvolt = <12750     99                         opp-microvolt = <1275000>;
100                 };                                100                 };
101         };                                        101         };
102                                                   102 
103         arm-pmu {                                 103         arm-pmu {
104                 compatible = "arm,cortex-a7-pm    104                 compatible = "arm,cortex-a7-pmu";
105                 interrupts = <GIC_SPI 76 IRQ_T    105                 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
106                              <GIC_SPI 77 IRQ_T    106                              <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
107                              <GIC_SPI 78 IRQ_T    107                              <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
108                              <GIC_SPI 79 IRQ_T    108                              <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
109                 interrupt-affinity = <&cpu0>,     109                 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
110         };                                        110         };
111                                                   111 
112         psci {                                    112         psci {
113                 compatible = "arm,psci-1.0", "    113                 compatible = "arm,psci-1.0", "arm,psci-0.2";
114                 method = "smc";                   114                 method = "smc";
115         };                                        115         };
116                                                   116 
117         timer {                                   117         timer {
118                 compatible = "arm,armv7-timer"    118                 compatible = "arm,armv7-timer";
119                 arm,cpu-registers-not-fw-confi    119                 arm,cpu-registers-not-fw-configured;
120                 interrupts = <GIC_PPI 13 (GIC_    120                 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
121                              <GIC_PPI 14 (GIC_    121                              <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
122                              <GIC_PPI 11 (GIC_    122                              <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
123                              <GIC_PPI 10 (GIC_    123                              <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
124                 clock-frequency = <24000000>;     124                 clock-frequency = <24000000>;
125         };                                        125         };
126                                                   126 
127         xin24m: oscillator {                      127         xin24m: oscillator {
128                 compatible = "fixed-clock";       128                 compatible = "fixed-clock";
129                 clock-frequency = <24000000>;     129                 clock-frequency = <24000000>;
130                 clock-output-names = "xin24m";    130                 clock-output-names = "xin24m";
131                 #clock-cells = <0>;               131                 #clock-cells = <0>;
132         };                                        132         };
133                                                   133 
134         display_subsystem: display-subsystem {    134         display_subsystem: display-subsystem {
135                 compatible = "rockchip,display    135                 compatible = "rockchip,display-subsystem";
136                 ports = <&vop_out>;               136                 ports = <&vop_out>;
137         };                                        137         };
138                                                   138 
139         i2s1: i2s1@100b0000 {                     139         i2s1: i2s1@100b0000 {
140                 compatible = "rockchip,rk3228-    140                 compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
141                 reg = <0x100b0000 0x4000>;        141                 reg = <0x100b0000 0x4000>;
142                 interrupts = <GIC_SPI 27 IRQ_T    142                 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
143                 clock-names = "i2s_clk", "i2s_    143                 clock-names = "i2s_clk", "i2s_hclk";
144                 clocks = <&cru SCLK_I2S1>, <&c    144                 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>;
145                 dmas = <&pdma 14>, <&pdma 15>;    145                 dmas = <&pdma 14>, <&pdma 15>;
146                 dma-names = "tx", "rx";           146                 dma-names = "tx", "rx";
147                 pinctrl-names = "default";        147                 pinctrl-names = "default";
148                 pinctrl-0 = <&i2s1_bus>;          148                 pinctrl-0 = <&i2s1_bus>;
149                 status = "disabled";              149                 status = "disabled";
150         };                                        150         };
151                                                   151 
152         i2s0: i2s0@100c0000 {                     152         i2s0: i2s0@100c0000 {
153                 compatible = "rockchip,rk3228-    153                 compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
154                 reg = <0x100c0000 0x4000>;        154                 reg = <0x100c0000 0x4000>;
155                 interrupts = <GIC_SPI 26 IRQ_T    155                 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
156                 clock-names = "i2s_clk", "i2s_    156                 clock-names = "i2s_clk", "i2s_hclk";
157                 clocks = <&cru SCLK_I2S0>, <&c    157                 clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>;
158                 dmas = <&pdma 11>, <&pdma 12>;    158                 dmas = <&pdma 11>, <&pdma 12>;
159                 dma-names = "tx", "rx";           159                 dma-names = "tx", "rx";
160                 status = "disabled";              160                 status = "disabled";
161         };                                        161         };
162                                                   162 
163         spdif: spdif@100d0000 {                   163         spdif: spdif@100d0000 {
164                 compatible = "rockchip,rk3228-    164                 compatible = "rockchip,rk3228-spdif";
165                 reg = <0x100d0000 0x1000>;        165                 reg = <0x100d0000 0x1000>;
166                 interrupts = <GIC_SPI 29 IRQ_T    166                 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
167                 clocks = <&cru SCLK_SPDIF>, <&    167                 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
168                 clock-names = "mclk", "hclk";     168                 clock-names = "mclk", "hclk";
169                 dmas = <&pdma 10>;                169                 dmas = <&pdma 10>;
170                 dma-names = "tx";                 170                 dma-names = "tx";
171                 pinctrl-names = "default";        171                 pinctrl-names = "default";
172                 pinctrl-0 = <&spdif_tx>;          172                 pinctrl-0 = <&spdif_tx>;
173                 status = "disabled";              173                 status = "disabled";
174         };                                        174         };
175                                                   175 
176         i2s2: i2s2@100e0000 {                     176         i2s2: i2s2@100e0000 {
177                 compatible = "rockchip,rk3228-    177                 compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
178                 reg = <0x100e0000 0x4000>;        178                 reg = <0x100e0000 0x4000>;
179                 interrupts = <GIC_SPI 28 IRQ_T    179                 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
180                 clock-names = "i2s_clk", "i2s_    180                 clock-names = "i2s_clk", "i2s_hclk";
181                 clocks = <&cru SCLK_I2S2>, <&c    181                 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>;
182                 dmas = <&pdma 0>, <&pdma 1>;      182                 dmas = <&pdma 0>, <&pdma 1>;
183                 dma-names = "tx", "rx";           183                 dma-names = "tx", "rx";
184                 status = "disabled";              184                 status = "disabled";
185         };                                        185         };
186                                                   186 
187         grf: syscon@11000000 {                    187         grf: syscon@11000000 {
188                 compatible = "rockchip,rk3228-    188                 compatible = "rockchip,rk3228-grf", "syscon", "simple-mfd";
189                 reg = <0x11000000 0x1000>;        189                 reg = <0x11000000 0x1000>;
190                 #address-cells = <1>;             190                 #address-cells = <1>;
191                 #size-cells = <1>;                191                 #size-cells = <1>;
192                                                   192 
193                 io_domains: io-domains {          193                 io_domains: io-domains {
194                         compatible = "rockchip    194                         compatible = "rockchip,rk3228-io-voltage-domain";
195                         status = "disabled";      195                         status = "disabled";
196                 };                                196                 };
197                                                   197 
198                 power: power-controller {         198                 power: power-controller {
199                         compatible = "rockchip    199                         compatible = "rockchip,rk3228-power-controller";
200                         #power-domain-cells =     200                         #power-domain-cells = <1>;
201                         #address-cells = <1>;     201                         #address-cells = <1>;
202                         #size-cells = <0>;        202                         #size-cells = <0>;
203                                                   203 
204                         power-domain@RK3228_PD    204                         power-domain@RK3228_PD_VIO {
205                                 reg = <RK3228_    205                                 reg = <RK3228_PD_VIO>;
206                                 clocks = <&cru    206                                 clocks = <&cru ACLK_HDCP>,
207                                          <&cru    207                                          <&cru SCLK_HDCP>,
208                                          <&cru    208                                          <&cru ACLK_IEP>,
209                                          <&cru    209                                          <&cru HCLK_IEP>,
210                                          <&cru    210                                          <&cru ACLK_RGA>,
211                                          <&cru    211                                          <&cru HCLK_RGA>,
212                                          <&cru    212                                          <&cru SCLK_RGA>;
213                                 pm_qos = <&qos    213                                 pm_qos = <&qos_hdcp>,
214                                          <&qos    214                                          <&qos_iep>,
215                                          <&qos    215                                          <&qos_rga_r>,
216                                          <&qos    216                                          <&qos_rga_w>;
217                                 #power-domain-    217                                 #power-domain-cells = <0>;
218                         };                        218                         };
219                                                   219 
220                         power-domain@RK3228_PD    220                         power-domain@RK3228_PD_VOP {
221                                 reg = <RK3228_    221                                 reg = <RK3228_PD_VOP>;
222                                 clocks = <&cru    222                                 clocks = <&cru ACLK_VOP>,
223                                          <&cru    223                                          <&cru DCLK_VOP>,
224                                          <&cru    224                                          <&cru HCLK_VOP>;
225                                 pm_qos = <&qos    225                                 pm_qos = <&qos_vop>;
226                                 #power-domain-    226                                 #power-domain-cells = <0>;
227                         };                        227                         };
228                                                   228 
229                         power-domain@RK3228_PD    229                         power-domain@RK3228_PD_VPU {
230                                 reg = <RK3228_    230                                 reg = <RK3228_PD_VPU>;
231                                 clocks = <&cru    231                                 clocks = <&cru ACLK_VPU>,
232                                          <&cru    232                                          <&cru HCLK_VPU>;
233                                 pm_qos = <&qos    233                                 pm_qos = <&qos_vpu>;
234                                 #power-domain-    234                                 #power-domain-cells = <0>;
235                         };                        235                         };
236                                                   236 
237                         power-domain@RK3228_PD    237                         power-domain@RK3228_PD_RKVDEC {
238                                 reg = <RK3228_    238                                 reg = <RK3228_PD_RKVDEC>;
239                                 clocks = <&cru    239                                 clocks = <&cru ACLK_RKVDEC>,
240                                          <&cru    240                                          <&cru HCLK_RKVDEC>,
241                                          <&cru    241                                          <&cru SCLK_VDEC_CABAC>,
242                                          <&cru    242                                          <&cru SCLK_VDEC_CORE>;
243                                 pm_qos = <&qos    243                                 pm_qos = <&qos_rkvdec_r>,
244                                          <&qos    244                                          <&qos_rkvdec_w>;
245                                 #power-domain-    245                                 #power-domain-cells = <0>;
246                         };                        246                         };
247                                                   247 
248                         power-domain@RK3228_PD    248                         power-domain@RK3228_PD_GPU {
249                                 reg = <RK3228_    249                                 reg = <RK3228_PD_GPU>;
250                                 clocks = <&cru    250                                 clocks = <&cru ACLK_GPU>;
251                                 pm_qos = <&qos    251                                 pm_qos = <&qos_gpu>;
252                                 #power-domain-    252                                 #power-domain-cells = <0>;
253                         };                        253                         };
254                 };                                254                 };
255                                                   255 
256                 u2phy0: usb2phy@760 {             256                 u2phy0: usb2phy@760 {
257                         compatible = "rockchip    257                         compatible = "rockchip,rk3228-usb2phy";
258                         reg = <0x0760 0x0c>;      258                         reg = <0x0760 0x0c>;
259                         clocks = <&cru SCLK_OT    259                         clocks = <&cru SCLK_OTGPHY0>;
260                         clock-names = "phyclk"    260                         clock-names = "phyclk";
261                         clock-output-names = "    261                         clock-output-names = "usb480m_phy0";
262                         #clock-cells = <0>;       262                         #clock-cells = <0>;
263                         status = "disabled";      263                         status = "disabled";
264                                                   264 
265                         u2phy0_otg: otg-port {    265                         u2phy0_otg: otg-port {
266                                 interrupts = <    266                                 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
267                                              <    267                                              <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
268                                              <    268                                              <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
269                                 interrupt-name    269                                 interrupt-names = "otg-bvalid", "otg-id",
270                                                   270                                                   "linestate";
271                                 #phy-cells = <    271                                 #phy-cells = <0>;
272                                 status = "disa    272                                 status = "disabled";
273                         };                        273                         };
274                                                   274 
275                         u2phy0_host: host-port    275                         u2phy0_host: host-port {
276                                 interrupts = <    276                                 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
277                                 interrupt-name    277                                 interrupt-names = "linestate";
278                                 #phy-cells = <    278                                 #phy-cells = <0>;
279                                 status = "disa    279                                 status = "disabled";
280                         };                        280                         };
281                 };                                281                 };
282                                                   282 
283                 u2phy1: usb2phy@800 {             283                 u2phy1: usb2phy@800 {
284                         compatible = "rockchip    284                         compatible = "rockchip,rk3228-usb2phy";
285                         reg = <0x0800 0x0c>;      285                         reg = <0x0800 0x0c>;
286                         clocks = <&cru SCLK_OT    286                         clocks = <&cru SCLK_OTGPHY1>;
287                         clock-names = "phyclk"    287                         clock-names = "phyclk";
288                         clock-output-names = "    288                         clock-output-names = "usb480m_phy1";
289                         #clock-cells = <0>;       289                         #clock-cells = <0>;
290                         status = "disabled";      290                         status = "disabled";
291                                                   291 
292                         u2phy1_otg: otg-port {    292                         u2phy1_otg: otg-port {
293                                 interrupts = <    293                                 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
294                                 interrupt-name    294                                 interrupt-names = "linestate";
295                                 #phy-cells = <    295                                 #phy-cells = <0>;
296                                 status = "disa    296                                 status = "disabled";
297                         };                        297                         };
298                                                   298 
299                         u2phy1_host: host-port    299                         u2phy1_host: host-port {
300                                 interrupts = <    300                                 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
301                                 interrupt-name    301                                 interrupt-names = "linestate";
302                                 #phy-cells = <    302                                 #phy-cells = <0>;
303                                 status = "disa    303                                 status = "disabled";
304                         };                        304                         };
305                 };                                305                 };
306         };                                        306         };
307                                                   307 
308         uart0: serial@11010000 {                  308         uart0: serial@11010000 {
309                 compatible = "snps,dw-apb-uart    309                 compatible = "snps,dw-apb-uart";
310                 reg = <0x11010000 0x100>;         310                 reg = <0x11010000 0x100>;
311                 interrupts = <GIC_SPI 55 IRQ_T    311                 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
312                 clock-frequency = <24000000>;     312                 clock-frequency = <24000000>;
313                 clocks = <&cru SCLK_UART0>, <&    313                 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
314                 clock-names = "baudclk", "apb_    314                 clock-names = "baudclk", "apb_pclk";
315                 pinctrl-names = "default";        315                 pinctrl-names = "default";
316                 pinctrl-0 = <&uart0_xfer &uart    316                 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
317                 reg-shift = <2>;                  317                 reg-shift = <2>;
318                 reg-io-width = <4>;               318                 reg-io-width = <4>;
319                 status = "disabled";              319                 status = "disabled";
320         };                                        320         };
321                                                   321 
322         uart1: serial@11020000 {                  322         uart1: serial@11020000 {
323                 compatible = "snps,dw-apb-uart    323                 compatible = "snps,dw-apb-uart";
324                 reg = <0x11020000 0x100>;         324                 reg = <0x11020000 0x100>;
325                 interrupts = <GIC_SPI 56 IRQ_T    325                 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
326                 clock-frequency = <24000000>;     326                 clock-frequency = <24000000>;
327                 clocks = <&cru SCLK_UART1>, <&    327                 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
328                 clock-names = "baudclk", "apb_    328                 clock-names = "baudclk", "apb_pclk";
329                 pinctrl-names = "default";        329                 pinctrl-names = "default";
330                 pinctrl-0 = <&uart1_xfer>;        330                 pinctrl-0 = <&uart1_xfer>;
331                 reg-shift = <2>;                  331                 reg-shift = <2>;
332                 reg-io-width = <4>;               332                 reg-io-width = <4>;
333                 status = "disabled";              333                 status = "disabled";
334         };                                        334         };
335                                                   335 
336         uart2: serial@11030000 {                  336         uart2: serial@11030000 {
337                 compatible = "snps,dw-apb-uart    337                 compatible = "snps,dw-apb-uart";
338                 reg = <0x11030000 0x100>;         338                 reg = <0x11030000 0x100>;
339                 interrupts = <GIC_SPI 57 IRQ_T    339                 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
340                 clock-frequency = <24000000>;     340                 clock-frequency = <24000000>;
341                 clocks = <&cru SCLK_UART2>, <&    341                 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
342                 clock-names = "baudclk", "apb_    342                 clock-names = "baudclk", "apb_pclk";
343                 pinctrl-names = "default";        343                 pinctrl-names = "default";
344                 pinctrl-0 = <&uart2_xfer>;        344                 pinctrl-0 = <&uart2_xfer>;
345                 reg-shift = <2>;                  345                 reg-shift = <2>;
346                 reg-io-width = <4>;               346                 reg-io-width = <4>;
347                 status = "disabled";              347                 status = "disabled";
348         };                                        348         };
349                                                   349 
350         efuse: efuse@11040000 {                   350         efuse: efuse@11040000 {
351                 compatible = "rockchip,rk3228-    351                 compatible = "rockchip,rk3228-efuse";
352                 reg = <0x11040000 0x20>;          352                 reg = <0x11040000 0x20>;
353                 clocks = <&cru PCLK_EFUSE_256>    353                 clocks = <&cru PCLK_EFUSE_256>;
354                 clock-names = "pclk_efuse";       354                 clock-names = "pclk_efuse";
355                 #address-cells = <1>;             355                 #address-cells = <1>;
356                 #size-cells = <1>;                356                 #size-cells = <1>;
357                                                   357 
358                 /* Data cells */                  358                 /* Data cells */
359                 efuse_id: id@7 {                  359                 efuse_id: id@7 {
360                         reg = <0x7 0x10>;         360                         reg = <0x7 0x10>;
361                 };                                361                 };
362                 cpu_leakage: cpu_leakage@17 {     362                 cpu_leakage: cpu_leakage@17 {
363                         reg = <0x17 0x1>;         363                         reg = <0x17 0x1>;
364                 };                                364                 };
365         };                                        365         };
366                                                   366 
367         i2c0: i2c@11050000 {                      367         i2c0: i2c@11050000 {
368                 compatible = "rockchip,rk3228-    368                 compatible = "rockchip,rk3228-i2c";
369                 reg = <0x11050000 0x1000>;        369                 reg = <0x11050000 0x1000>;
370                 interrupts = <GIC_SPI 36 IRQ_T    370                 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
371                 #address-cells = <1>;             371                 #address-cells = <1>;
372                 #size-cells = <0>;                372                 #size-cells = <0>;
373                 clock-names = "i2c";              373                 clock-names = "i2c";
374                 clocks = <&cru PCLK_I2C0>;        374                 clocks = <&cru PCLK_I2C0>;
375                 pinctrl-names = "default";        375                 pinctrl-names = "default";
376                 pinctrl-0 = <&i2c0_xfer>;         376                 pinctrl-0 = <&i2c0_xfer>;
377                 status = "disabled";              377                 status = "disabled";
378         };                                        378         };
379                                                   379 
380         i2c1: i2c@11060000 {                      380         i2c1: i2c@11060000 {
381                 compatible = "rockchip,rk3228-    381                 compatible = "rockchip,rk3228-i2c";
382                 reg = <0x11060000 0x1000>;        382                 reg = <0x11060000 0x1000>;
383                 interrupts = <GIC_SPI 37 IRQ_T    383                 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
384                 #address-cells = <1>;             384                 #address-cells = <1>;
385                 #size-cells = <0>;                385                 #size-cells = <0>;
386                 clock-names = "i2c";              386                 clock-names = "i2c";
387                 clocks = <&cru PCLK_I2C1>;        387                 clocks = <&cru PCLK_I2C1>;
388                 pinctrl-names = "default";        388                 pinctrl-names = "default";
389                 pinctrl-0 = <&i2c1_xfer>;         389                 pinctrl-0 = <&i2c1_xfer>;
390                 status = "disabled";              390                 status = "disabled";
391         };                                        391         };
392                                                   392 
393         i2c2: i2c@11070000 {                      393         i2c2: i2c@11070000 {
394                 compatible = "rockchip,rk3228-    394                 compatible = "rockchip,rk3228-i2c";
395                 reg = <0x11070000 0x1000>;        395                 reg = <0x11070000 0x1000>;
396                 interrupts = <GIC_SPI 38 IRQ_T    396                 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
397                 #address-cells = <1>;             397                 #address-cells = <1>;
398                 #size-cells = <0>;                398                 #size-cells = <0>;
399                 clock-names = "i2c";              399                 clock-names = "i2c";
400                 clocks = <&cru PCLK_I2C2>;        400                 clocks = <&cru PCLK_I2C2>;
401                 pinctrl-names = "default";        401                 pinctrl-names = "default";
402                 pinctrl-0 = <&i2c2_xfer>;         402                 pinctrl-0 = <&i2c2_xfer>;
403                 status = "disabled";              403                 status = "disabled";
404         };                                        404         };
405                                                   405 
406         i2c3: i2c@11080000 {                      406         i2c3: i2c@11080000 {
407                 compatible = "rockchip,rk3228-    407                 compatible = "rockchip,rk3228-i2c";
408                 reg = <0x11080000 0x1000>;        408                 reg = <0x11080000 0x1000>;
409                 interrupts = <GIC_SPI 39 IRQ_T    409                 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
410                 #address-cells = <1>;             410                 #address-cells = <1>;
411                 #size-cells = <0>;                411                 #size-cells = <0>;
412                 clock-names = "i2c";              412                 clock-names = "i2c";
413                 clocks = <&cru PCLK_I2C3>;        413                 clocks = <&cru PCLK_I2C3>;
414                 pinctrl-names = "default";        414                 pinctrl-names = "default";
415                 pinctrl-0 = <&i2c3_xfer>;         415                 pinctrl-0 = <&i2c3_xfer>;
416                 status = "disabled";              416                 status = "disabled";
417         };                                        417         };
418                                                   418 
419         spi0: spi@11090000 {                      419         spi0: spi@11090000 {
420                 compatible = "rockchip,rk3228-    420                 compatible = "rockchip,rk3228-spi";
421                 reg = <0x11090000 0x1000>;        421                 reg = <0x11090000 0x1000>;
422                 interrupts = <GIC_SPI 49 IRQ_T    422                 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
423                 #address-cells = <1>;             423                 #address-cells = <1>;
424                 #size-cells = <0>;                424                 #size-cells = <0>;
425                 clocks = <&cru SCLK_SPI0>, <&c    425                 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
426                 clock-names = "spiclk", "apb_p    426                 clock-names = "spiclk", "apb_pclk";
427                 pinctrl-names = "default";        427                 pinctrl-names = "default";
428                 pinctrl-0 = <&spi0_clk &spi0_t    428                 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0 &spi0_cs1>;
429                 status = "disabled";              429                 status = "disabled";
430         };                                        430         };
431                                                   431 
432         wdt: watchdog@110a0000 {                  432         wdt: watchdog@110a0000 {
433                 compatible = "rockchip,rk3228-    433                 compatible = "rockchip,rk3228-wdt", "snps,dw-wdt";
434                 reg = <0x110a0000 0x100>;         434                 reg = <0x110a0000 0x100>;
435                 interrupts = <GIC_SPI 40 IRQ_T    435                 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
436                 clocks = <&cru PCLK_CPU>;         436                 clocks = <&cru PCLK_CPU>;
437                 status = "disabled";              437                 status = "disabled";
438         };                                        438         };
439                                                   439 
440         pwm0: pwm@110b0000 {                      440         pwm0: pwm@110b0000 {
441                 compatible = "rockchip,rk3288-    441                 compatible = "rockchip,rk3288-pwm";
442                 reg = <0x110b0000 0x10>;          442                 reg = <0x110b0000 0x10>;
443                 #pwm-cells = <3>;                 443                 #pwm-cells = <3>;
444                 clocks = <&cru PCLK_PWM>;         444                 clocks = <&cru PCLK_PWM>;
445                 pinctrl-names = "default";        445                 pinctrl-names = "default";
446                 pinctrl-0 = <&pwm0_pin>;          446                 pinctrl-0 = <&pwm0_pin>;
447                 status = "disabled";              447                 status = "disabled";
448         };                                        448         };
449                                                   449 
450         pwm1: pwm@110b0010 {                      450         pwm1: pwm@110b0010 {
451                 compatible = "rockchip,rk3288-    451                 compatible = "rockchip,rk3288-pwm";
452                 reg = <0x110b0010 0x10>;          452                 reg = <0x110b0010 0x10>;
453                 #pwm-cells = <3>;                 453                 #pwm-cells = <3>;
454                 clocks = <&cru PCLK_PWM>;         454                 clocks = <&cru PCLK_PWM>;
455                 pinctrl-names = "default";        455                 pinctrl-names = "default";
456                 pinctrl-0 = <&pwm1_pin>;          456                 pinctrl-0 = <&pwm1_pin>;
457                 status = "disabled";              457                 status = "disabled";
458         };                                        458         };
459                                                   459 
460         pwm2: pwm@110b0020 {                      460         pwm2: pwm@110b0020 {
461                 compatible = "rockchip,rk3288-    461                 compatible = "rockchip,rk3288-pwm";
462                 reg = <0x110b0020 0x10>;          462                 reg = <0x110b0020 0x10>;
463                 #pwm-cells = <3>;                 463                 #pwm-cells = <3>;
464                 clocks = <&cru PCLK_PWM>;         464                 clocks = <&cru PCLK_PWM>;
465                 pinctrl-names = "default";        465                 pinctrl-names = "default";
466                 pinctrl-0 = <&pwm2_pin>;          466                 pinctrl-0 = <&pwm2_pin>;
467                 status = "disabled";              467                 status = "disabled";
468         };                                        468         };
469                                                   469 
470         pwm3: pwm@110b0030 {                      470         pwm3: pwm@110b0030 {
471                 compatible = "rockchip,rk3288-    471                 compatible = "rockchip,rk3288-pwm";
472                 reg = <0x110b0030 0x10>;          472                 reg = <0x110b0030 0x10>;
473                 #pwm-cells = <2>;                 473                 #pwm-cells = <2>;
474                 clocks = <&cru PCLK_PWM>;         474                 clocks = <&cru PCLK_PWM>;
475                 pinctrl-names = "default";        475                 pinctrl-names = "default";
476                 pinctrl-0 = <&pwm3_pin>;          476                 pinctrl-0 = <&pwm3_pin>;
477                 status = "disabled";              477                 status = "disabled";
478         };                                        478         };
479                                                   479 
480         timer: timer@110c0000 {                   480         timer: timer@110c0000 {
481                 compatible = "rockchip,rk3228-    481                 compatible = "rockchip,rk3228-timer", "rockchip,rk3288-timer";
482                 reg = <0x110c0000 0x20>;          482                 reg = <0x110c0000 0x20>;
483                 interrupts = <GIC_SPI 43 IRQ_T    483                 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
484                 clocks = <&cru PCLK_TIMER>, <&    484                 clocks = <&cru PCLK_TIMER>, <&xin24m>;
485                 clock-names = "pclk", "timer";    485                 clock-names = "pclk", "timer";
486         };                                        486         };
487                                                   487 
488         cru: clock-controller@110e0000 {          488         cru: clock-controller@110e0000 {
489                 compatible = "rockchip,rk3228-    489                 compatible = "rockchip,rk3228-cru";
490                 reg = <0x110e0000 0x1000>;        490                 reg = <0x110e0000 0x1000>;
491                 clocks = <&xin24m>;               491                 clocks = <&xin24m>;
492                 clock-names = "xin24m";           492                 clock-names = "xin24m";
493                 rockchip,grf = <&grf>;            493                 rockchip,grf = <&grf>;
494                 #clock-cells = <1>;               494                 #clock-cells = <1>;
495                 #reset-cells = <1>;               495                 #reset-cells = <1>;
496                 assigned-clocks =                 496                 assigned-clocks =
497                         <&cru PLL_GPLL>, <&cru    497                         <&cru PLL_GPLL>, <&cru ARMCLK>,
498                         <&cru PLL_CPLL>, <&cru    498                         <&cru PLL_CPLL>, <&cru ACLK_PERI>,
499                         <&cru HCLK_PERI>, <&cr    499                         <&cru HCLK_PERI>, <&cru PCLK_PERI>,
500                         <&cru ACLK_CPU>, <&cru    500                         <&cru ACLK_CPU>, <&cru HCLK_CPU>,
501                         <&cru PCLK_CPU>;          501                         <&cru PCLK_CPU>;
502                 assigned-clock-rates =            502                 assigned-clock-rates =
503                         <594000000>, <81600000    503                         <594000000>, <816000000>,
504                         <500000000>, <15000000    504                         <500000000>, <150000000>,
505                         <150000000>, <75000000    505                         <150000000>, <75000000>,
506                         <150000000>, <15000000    506                         <150000000>, <150000000>,
507                         <75000000>;               507                         <75000000>;
508         };                                        508         };
509                                                   509 
510         pdma: dma-controller@110f0000 {           510         pdma: dma-controller@110f0000 {
511                 compatible = "arm,pl330", "arm    511                 compatible = "arm,pl330", "arm,primecell";
512                 reg = <0x110f0000 0x4000>;        512                 reg = <0x110f0000 0x4000>;
513                 interrupts = <GIC_SPI 0 IRQ_TY    513                 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
514                              <GIC_SPI 1 IRQ_TY    514                              <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
515                 #dma-cells = <1>;                 515                 #dma-cells = <1>;
516                 arm,pl330-periph-burst;           516                 arm,pl330-periph-burst;
517                 clocks = <&cru ACLK_DMAC>;        517                 clocks = <&cru ACLK_DMAC>;
518                 clock-names = "apb_pclk";         518                 clock-names = "apb_pclk";
519         };                                        519         };
520                                                   520 
521         thermal-zones {                           521         thermal-zones {
522                 cpu_thermal: cpu-thermal {        522                 cpu_thermal: cpu-thermal {
523                         polling-delay-passive     523                         polling-delay-passive = <100>; /* milliseconds */
524                         polling-delay = <5000>    524                         polling-delay = <5000>; /* milliseconds */
525                                                   525 
526                         thermal-sensors = <&ts    526                         thermal-sensors = <&tsadc 0>;
527                                                   527 
528                         trips {                   528                         trips {
529                                 cpu_alert0: cp    529                                 cpu_alert0: cpu_alert0 {
530                                         temper    530                                         temperature = <70000>; /* millicelsius */
531                                         hyster    531                                         hysteresis = <2000>; /* millicelsius */
532                                         type =    532                                         type = "passive";
533                                 };                533                                 };
534                                 cpu_alert1: cp    534                                 cpu_alert1: cpu_alert1 {
535                                         temper    535                                         temperature = <75000>; /* millicelsius */
536                                         hyster    536                                         hysteresis = <2000>; /* millicelsius */
537                                         type =    537                                         type = "passive";
538                                 };                538                                 };
539                                 cpu_crit: cpu_    539                                 cpu_crit: cpu_crit {
540                                         temper    540                                         temperature = <90000>; /* millicelsius */
541                                         hyster    541                                         hysteresis = <2000>; /* millicelsius */
542                                         type =    542                                         type = "critical";
543                                 };                543                                 };
544                         };                        544                         };
545                                                   545 
546                         cooling-maps {            546                         cooling-maps {
547                                 map0 {            547                                 map0 {
548                                         trip =    548                                         trip = <&cpu_alert0>;
549                                         coolin    549                                         cooling-device =
550                                                   550                                                 <&cpu0 THERMAL_NO_LIMIT 6>,
551                                                   551                                                 <&cpu1 THERMAL_NO_LIMIT 6>,
552                                                   552                                                 <&cpu2 THERMAL_NO_LIMIT 6>,
553                                                   553                                                 <&cpu3 THERMAL_NO_LIMIT 6>;
554                                 };                554                                 };
555                                 map1 {            555                                 map1 {
556                                         trip =    556                                         trip = <&cpu_alert1>;
557                                         coolin    557                                         cooling-device =
558                                                   558                                                 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
559                                                   559                                                 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
560                                                   560                                                 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
561                                                   561                                                 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
562                                 };                562                                 };
563                         };                        563                         };
564                 };                                564                 };
565         };                                        565         };
566                                                   566 
567         tsadc: tsadc@11150000 {                   567         tsadc: tsadc@11150000 {
568                 compatible = "rockchip,rk3228-    568                 compatible = "rockchip,rk3228-tsadc";
569                 reg = <0x11150000 0x100>;         569                 reg = <0x11150000 0x100>;
570                 interrupts = <GIC_SPI 58 IRQ_T    570                 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
571                 clocks = <&cru SCLK_TSADC>, <&    571                 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
572                 clock-names = "tsadc", "apb_pc    572                 clock-names = "tsadc", "apb_pclk";
573                 assigned-clocks = <&cru SCLK_T    573                 assigned-clocks = <&cru SCLK_TSADC>;
574                 assigned-clock-rates = <32768>    574                 assigned-clock-rates = <32768>;
575                 resets = <&cru SRST_TSADC>;       575                 resets = <&cru SRST_TSADC>;
576                 reset-names = "tsadc-apb";        576                 reset-names = "tsadc-apb";
577                 pinctrl-names = "init", "defau    577                 pinctrl-names = "init", "default", "sleep";
578                 pinctrl-0 = <&otp_pin>;           578                 pinctrl-0 = <&otp_pin>;
579                 pinctrl-1 = <&otp_out>;           579                 pinctrl-1 = <&otp_out>;
580                 pinctrl-2 = <&otp_pin>;           580                 pinctrl-2 = <&otp_pin>;
581                 #thermal-sensor-cells = <1>;      581                 #thermal-sensor-cells = <1>;
582                 rockchip,hw-tshut-temp = <9500    582                 rockchip,hw-tshut-temp = <95000>;
583                 status = "disabled";              583                 status = "disabled";
584         };                                        584         };
585                                                   585 
586         hdmi_phy: hdmi-phy@12030000 {             586         hdmi_phy: hdmi-phy@12030000 {
587                 compatible = "rockchip,rk3228-    587                 compatible = "rockchip,rk3228-hdmi-phy";
588                 reg = <0x12030000 0x10000>;       588                 reg = <0x12030000 0x10000>;
589                 clocks = <&cru PCLK_HDMI_PHY>,    589                 clocks = <&cru PCLK_HDMI_PHY>, <&xin24m>, <&cru DCLK_HDMI_PHY>;
590                 clock-names = "sysclk", "refoc    590                 clock-names = "sysclk", "refoclk", "refpclk";
591                 #clock-cells = <0>;               591                 #clock-cells = <0>;
592                 clock-output-names = "hdmiphy_    592                 clock-output-names = "hdmiphy_phy";
593                 #phy-cells = <0>;                 593                 #phy-cells = <0>;
594                 status = "disabled";              594                 status = "disabled";
595         };                                        595         };
596                                                   596 
597         gpu: gpu@20000000 {                       597         gpu: gpu@20000000 {
598                 compatible = "rockchip,rk3228-    598                 compatible = "rockchip,rk3228-mali", "arm,mali-400";
599                 reg = <0x20000000 0x10000>;       599                 reg = <0x20000000 0x10000>;
600                 interrupts = <GIC_SPI 6 IRQ_TY    600                 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
601                              <GIC_SPI 5 IRQ_TY    601                              <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
602                              <GIC_SPI 4 IRQ_TY    602                              <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
603                              <GIC_SPI 5 IRQ_TY    603                              <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
604                              <GIC_SPI 4 IRQ_TY    604                              <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
605                              <GIC_SPI 5 IRQ_TY    605                              <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
606                 interrupt-names = "gp",           606                 interrupt-names = "gp",
607                                   "gpmmu",        607                                   "gpmmu",
608                                   "pp0",          608                                   "pp0",
609                                   "ppmmu0",       609                                   "ppmmu0",
610                                   "pp1",          610                                   "pp1",
611                                   "ppmmu1";       611                                   "ppmmu1";
612                 clocks = <&cru ACLK_GPU>, <&cr    612                 clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
613                 clock-names = "bus", "core";      613                 clock-names = "bus", "core";
614                 power-domains = <&power RK3228    614                 power-domains = <&power RK3228_PD_GPU>;
615                 resets = <&cru SRST_GPU_A>;       615                 resets = <&cru SRST_GPU_A>;
616                 status = "disabled";              616                 status = "disabled";
617         };                                        617         };
618                                                   618 
619         vpu: video-codec@20020000 {               619         vpu: video-codec@20020000 {
620                 compatible = "rockchip,rk3228-    620                 compatible = "rockchip,rk3228-vpu", "rockchip,rk3399-vpu";
621                 reg = <0x20020000 0x800>;         621                 reg = <0x20020000 0x800>;
622                 interrupts = <GIC_SPI 11 IRQ_T    622                 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
623                              <GIC_SPI  9 IRQ_T    623                              <GIC_SPI  9 IRQ_TYPE_LEVEL_HIGH>;
624                 interrupt-names = "vepu", "vdp    624                 interrupt-names = "vepu", "vdpu";
625                 clocks = <&cru ACLK_VPU>, <&cr    625                 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
626                 clock-names = "aclk", "hclk";     626                 clock-names = "aclk", "hclk";
627                 iommus = <&vpu_mmu>;              627                 iommus = <&vpu_mmu>;
628                 power-domains = <&power RK3228    628                 power-domains = <&power RK3228_PD_VPU>;
629         };                                        629         };
630                                                   630 
631         vpu_mmu: iommu@20020800 {                 631         vpu_mmu: iommu@20020800 {
632                 compatible = "rockchip,iommu";    632                 compatible = "rockchip,iommu";
633                 reg = <0x20020800 0x100>;         633                 reg = <0x20020800 0x100>;
634                 interrupts = <GIC_SPI 10 IRQ_T    634                 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
635                 clocks = <&cru ACLK_VPU>, <&cr    635                 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
636                 clock-names = "aclk", "iface";    636                 clock-names = "aclk", "iface";
637                 power-domains = <&power RK3228    637                 power-domains = <&power RK3228_PD_VPU>;
638                 #iommu-cells = <0>;               638                 #iommu-cells = <0>;
639         };                                        639         };
640                                                   640 
641         vdec: video-codec@20030000 {              641         vdec: video-codec@20030000 {
642                 compatible = "rockchip,rk3228-    642                 compatible = "rockchip,rk3228-vdec", "rockchip,rk3399-vdec";
643                 reg = <0x20030000 0x480>;         643                 reg = <0x20030000 0x480>;
644                 interrupts = <GIC_SPI 7 IRQ_TY    644                 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
645                 clocks = <&cru ACLK_RKVDEC>, <    645                 clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>,
646                          <&cru SCLK_VDEC_CABAC    646                          <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>;
647                 clock-names = "axi", "ahb", "c    647                 clock-names = "axi", "ahb", "cabac", "core";
648                 assigned-clocks = <&cru SCLK_V    648                 assigned-clocks = <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>;
649                 assigned-clock-rates = <300000    649                 assigned-clock-rates = <300000000>, <300000000>;
650                 iommus = <&vdec_mmu>;             650                 iommus = <&vdec_mmu>;
651                 power-domains = <&power RK3228    651                 power-domains = <&power RK3228_PD_RKVDEC>;
652         };                                        652         };
653                                                   653 
654         vdec_mmu: iommu@20030480 {                654         vdec_mmu: iommu@20030480 {
655                 compatible = "rockchip,iommu";    655                 compatible = "rockchip,iommu";
656                 reg = <0x20030480 0x40>, <0x20    656                 reg = <0x20030480 0x40>, <0x200304c0 0x40>;
657                 interrupts = <GIC_SPI 8 IRQ_TY    657                 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
658                 clocks = <&cru ACLK_RKVDEC>, <    658                 clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>;
659                 clock-names = "aclk", "iface";    659                 clock-names = "aclk", "iface";
660                 power-domains = <&power RK3228    660                 power-domains = <&power RK3228_PD_RKVDEC>;
661                 #iommu-cells = <0>;               661                 #iommu-cells = <0>;
662         };                                        662         };
663                                                   663 
664         vop: vop@20050000 {                       664         vop: vop@20050000 {
665                 compatible = "rockchip,rk3228-    665                 compatible = "rockchip,rk3228-vop";
666                 reg = <0x20050000 0x1ffc>;        666                 reg = <0x20050000 0x1ffc>;
667                 interrupts = <GIC_SPI 32 IRQ_T    667                 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
668                 clocks = <&cru ACLK_VOP>, <&cr    668                 clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>;
669                 clock-names = "aclk_vop", "dcl    669                 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
670                 resets = <&cru SRST_VOP_A>, <&    670                 resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
671                 reset-names = "axi", "ahb", "d    671                 reset-names = "axi", "ahb", "dclk";
672                 iommus = <&vop_mmu>;              672                 iommus = <&vop_mmu>;
673                 power-domains = <&power RK3228    673                 power-domains = <&power RK3228_PD_VOP>;
674                 status = "disabled";              674                 status = "disabled";
675                                                   675 
676                 vop_out: port {                   676                 vop_out: port {
677                         #address-cells = <1>;     677                         #address-cells = <1>;
678                         #size-cells = <0>;        678                         #size-cells = <0>;
679                                                   679 
680                         vop_out_hdmi: endpoint    680                         vop_out_hdmi: endpoint@0 {
681                                 reg = <0>;        681                                 reg = <0>;
682                                 remote-endpoin    682                                 remote-endpoint = <&hdmi_in_vop>;
683                         };                        683                         };
684                 };                                684                 };
685         };                                        685         };
686                                                   686 
687         vop_mmu: iommu@20053f00 {                 687         vop_mmu: iommu@20053f00 {
688                 compatible = "rockchip,iommu";    688                 compatible = "rockchip,iommu";
689                 reg = <0x20053f00 0x100>;         689                 reg = <0x20053f00 0x100>;
690                 interrupts = <GIC_SPI 32 IRQ_T    690                 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
691                 clocks = <&cru ACLK_VOP>, <&cr    691                 clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
692                 clock-names = "aclk", "iface";    692                 clock-names = "aclk", "iface";
693                 power-domains = <&power RK3228    693                 power-domains = <&power RK3228_PD_VOP>;
694                 #iommu-cells = <0>;               694                 #iommu-cells = <0>;
695                 status = "disabled";              695                 status = "disabled";
696         };                                        696         };
697                                                   697 
698         rga: rga@20060000 {                       698         rga: rga@20060000 {
699                 compatible = "rockchip,rk3228-    699                 compatible = "rockchip,rk3228-rga", "rockchip,rk3288-rga";
700                 reg = <0x20060000 0x1000>;        700                 reg = <0x20060000 0x1000>;
701                 interrupts = <GIC_SPI 33 IRQ_T    701                 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
702                 clocks = <&cru ACLK_RGA>, <&cr    702                 clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
703                 clock-names = "aclk", "hclk",     703                 clock-names = "aclk", "hclk", "sclk";
704                 power-domains = <&power RK3228    704                 power-domains = <&power RK3228_PD_VIO>;
705                 resets = <&cru SRST_RGA>, <&cr    705                 resets = <&cru SRST_RGA>, <&cru SRST_RGA_A>, <&cru SRST_RGA_H>;
706                 reset-names = "core", "axi", "    706                 reset-names = "core", "axi", "ahb";
707         };                                        707         };
708                                                   708 
709         iep_mmu: iommu@20070800 {                 709         iep_mmu: iommu@20070800 {
710                 compatible = "rockchip,iommu";    710                 compatible = "rockchip,iommu";
711                 reg = <0x20070800 0x100>;         711                 reg = <0x20070800 0x100>;
712                 interrupts = <GIC_SPI 31 IRQ_T    712                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
713                 clocks = <&cru ACLK_IEP>, <&cr    713                 clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
714                 clock-names = "aclk", "iface";    714                 clock-names = "aclk", "iface";
715                 power-domains = <&power RK3228    715                 power-domains = <&power RK3228_PD_VIO>;
716                 #iommu-cells = <0>;               716                 #iommu-cells = <0>;
717                 status = "disabled";              717                 status = "disabled";
718         };                                        718         };
719                                                   719 
720         hdmi: hdmi@200a0000 {                     720         hdmi: hdmi@200a0000 {
721                 compatible = "rockchip,rk3228-    721                 compatible = "rockchip,rk3228-dw-hdmi";
722                 reg = <0x200a0000 0x20000>;       722                 reg = <0x200a0000 0x20000>;
723                 reg-io-width = <4>;               723                 reg-io-width = <4>;
724                 interrupts = <GIC_SPI 35 IRQ_T    724                 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
725                 assigned-clocks = <&cru SCLK_H    725                 assigned-clocks = <&cru SCLK_HDMI_PHY>;
726                 assigned-clock-parents = <&hdm    726                 assigned-clock-parents = <&hdmi_phy>;
727                 clocks = <&cru PCLK_HDMI_CTRL>    727                 clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>;
728                 clock-names = "iahb", "isfr",     728                 clock-names = "iahb", "isfr", "cec";
729                 pinctrl-names = "default";        729                 pinctrl-names = "default";
730                 pinctrl-0 = <&hdmii2c_xfer &hd    730                 pinctrl-0 = <&hdmii2c_xfer &hdmi_hpd &hdmi_cec>;
731                 resets = <&cru SRST_HDMI_P>;      731                 resets = <&cru SRST_HDMI_P>;
732                 reset-names = "hdmi";             732                 reset-names = "hdmi";
733                 phys = <&hdmi_phy>;               733                 phys = <&hdmi_phy>;
734                 phy-names = "hdmi";               734                 phy-names = "hdmi";
735                 rockchip,grf = <&grf>;            735                 rockchip,grf = <&grf>;
736                 status = "disabled";              736                 status = "disabled";
737                                                   737 
738                 ports {                           738                 ports {
739                         #address-cells = <1>;     739                         #address-cells = <1>;
740                         #size-cells = <0>;        740                         #size-cells = <0>;
741                                                   741 
742                         hdmi_in: port@0 {         742                         hdmi_in: port@0 {
743                                 reg = <0>;        743                                 reg = <0>;
744                                                   744 
745                                 hdmi_in_vop: e    745                                 hdmi_in_vop: endpoint {
746                                         remote    746                                         remote-endpoint = <&vop_out_hdmi>;
747                                 };                747                                 };
748                         };                        748                         };
749                                                   749 
750                         hdmi_out: port@1 {        750                         hdmi_out: port@1 {
751                                 reg = <1>;        751                                 reg = <1>;
752                         };                        752                         };
753                 };                                753                 };
754         };                                        754         };
755                                                   755 
756         sdmmc: mmc@30000000 {                     756         sdmmc: mmc@30000000 {
757                 compatible = "rockchip,rk3228-    757                 compatible = "rockchip,rk3228-dw-mshc", "rockchip,rk3288-dw-mshc";
758                 reg = <0x30000000 0x4000>;        758                 reg = <0x30000000 0x4000>;
759                 interrupts = <GIC_SPI 12 IRQ_T    759                 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
760                 clocks = <&cru HCLK_SDMMC>, <&    760                 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
761                          <&cru SCLK_SDMMC_DRV>    761                          <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
762                 clock-names = "biu", "ciu", "c    762                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
763                 fifo-depth = <0x100>;             763                 fifo-depth = <0x100>;
764                 pinctrl-names = "default";        764                 pinctrl-names = "default";
765                 pinctrl-0 = <&sdmmc_clk &sdmmc    765                 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
766                 status = "disabled";              766                 status = "disabled";
767         };                                        767         };
768                                                   768 
769         sdio: mmc@30010000 {                      769         sdio: mmc@30010000 {
770                 compatible = "rockchip,rk3228-    770                 compatible = "rockchip,rk3228-dw-mshc", "rockchip,rk3288-dw-mshc";
771                 reg = <0x30010000 0x4000>;        771                 reg = <0x30010000 0x4000>;
772                 interrupts = <GIC_SPI 13 IRQ_T    772                 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
773                 clocks = <&cru HCLK_SDIO>, <&c    773                 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
774                          <&cru SCLK_SDIO_DRV>,    774                          <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
775                 clock-names = "biu", "ciu", "c    775                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
776                 fifo-depth = <0x100>;             776                 fifo-depth = <0x100>;
777                 pinctrl-names = "default";        777                 pinctrl-names = "default";
778                 pinctrl-0 = <&sdio_clk &sdio_c    778                 pinctrl-0 = <&sdio_clk &sdio_cmd &sdio_bus4>;
779                 status = "disabled";              779                 status = "disabled";
780         };                                        780         };
781                                                   781 
782         emmc: mmc@30020000 {                      782         emmc: mmc@30020000 {
783                 compatible = "rockchip,rk3228-    783                 compatible = "rockchip,rk3228-dw-mshc", "rockchip,rk3288-dw-mshc";
784                 reg = <0x30020000 0x4000>;        784                 reg = <0x30020000 0x4000>;
785                 interrupts = <GIC_SPI 14 IRQ_T    785                 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
786                 clock-frequency = <37500000>;     786                 clock-frequency = <37500000>;
787                 max-frequency = <37500000>;       787                 max-frequency = <37500000>;
788                 clocks = <&cru HCLK_EMMC>, <&c    788                 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
789                          <&cru SCLK_EMMC_DRV>,    789                          <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
790                 clock-names = "biu", "ciu", "c    790                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
791                 bus-width = <8>;                  791                 bus-width = <8>;
792                 rockchip,default-sample-phase     792                 rockchip,default-sample-phase = <158>;
793                 fifo-depth = <0x100>;             793                 fifo-depth = <0x100>;
794                 pinctrl-names = "default";        794                 pinctrl-names = "default";
795                 pinctrl-0 = <&emmc_clk &emmc_c    795                 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
796                 resets = <&cru SRST_EMMC>;        796                 resets = <&cru SRST_EMMC>;
797                 reset-names = "reset";            797                 reset-names = "reset";
798                 status = "disabled";              798                 status = "disabled";
799         };                                        799         };
800                                                   800 
801         usb_otg: usb@30040000 {                   801         usb_otg: usb@30040000 {
802                 compatible = "rockchip,rk3228-    802                 compatible = "rockchip,rk3228-usb", "rockchip,rk3066-usb",
803                              "snps,dwc2";         803                              "snps,dwc2";
804                 reg = <0x30040000 0x40000>;       804                 reg = <0x30040000 0x40000>;
805                 interrupts = <GIC_SPI 23 IRQ_T    805                 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
806                 clocks = <&cru HCLK_OTG>;         806                 clocks = <&cru HCLK_OTG>;
807                 clock-names = "otg";              807                 clock-names = "otg";
808                 dr_mode = "otg";                  808                 dr_mode = "otg";
809                 g-np-tx-fifo-size = <16>;         809                 g-np-tx-fifo-size = <16>;
810                 g-rx-fifo-size = <280>;           810                 g-rx-fifo-size = <280>;
811                 g-tx-fifo-size = <256 128 128     811                 g-tx-fifo-size = <256 128 128 64 32 16>;
812                 phys = <&u2phy0_otg>;             812                 phys = <&u2phy0_otg>;
813                 phy-names = "usb2-phy";           813                 phy-names = "usb2-phy";
814                 status = "disabled";              814                 status = "disabled";
815         };                                        815         };
816                                                   816 
817         usb_host0_ehci: usb@30080000 {            817         usb_host0_ehci: usb@30080000 {
818                 compatible = "generic-ehci";      818                 compatible = "generic-ehci";
819                 reg = <0x30080000 0x20000>;       819                 reg = <0x30080000 0x20000>;
820                 interrupts = <GIC_SPI 16 IRQ_T    820                 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
821                 clocks = <&cru HCLK_HOST0>, <&    821                 clocks = <&cru HCLK_HOST0>, <&u2phy0>;
822                 phys = <&u2phy0_host>;            822                 phys = <&u2phy0_host>;
823                 phy-names = "usb";                823                 phy-names = "usb";
824                 status = "disabled";              824                 status = "disabled";
825         };                                        825         };
826                                                   826 
827         usb_host0_ohci: usb@300a0000 {            827         usb_host0_ohci: usb@300a0000 {
828                 compatible = "generic-ohci";      828                 compatible = "generic-ohci";
829                 reg = <0x300a0000 0x20000>;       829                 reg = <0x300a0000 0x20000>;
830                 interrupts = <GIC_SPI 17 IRQ_T    830                 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
831                 clocks = <&cru HCLK_HOST0>, <&    831                 clocks = <&cru HCLK_HOST0>, <&u2phy0>;
832                 phys = <&u2phy0_host>;            832                 phys = <&u2phy0_host>;
833                 phy-names = "usb";                833                 phy-names = "usb";
834                 status = "disabled";              834                 status = "disabled";
835         };                                        835         };
836                                                   836 
837         usb_host1_ehci: usb@300c0000 {            837         usb_host1_ehci: usb@300c0000 {
838                 compatible = "generic-ehci";      838                 compatible = "generic-ehci";
839                 reg = <0x300c0000 0x20000>;       839                 reg = <0x300c0000 0x20000>;
840                 interrupts = <GIC_SPI 19 IRQ_T    840                 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
841                 clocks = <&cru HCLK_HOST1>, <&    841                 clocks = <&cru HCLK_HOST1>, <&u2phy1>;
842                 phys = <&u2phy1_otg>;             842                 phys = <&u2phy1_otg>;
843                 phy-names = "usb";                843                 phy-names = "usb";
844                 status = "disabled";              844                 status = "disabled";
845         };                                        845         };
846                                                   846 
847         usb_host1_ohci: usb@300e0000 {            847         usb_host1_ohci: usb@300e0000 {
848                 compatible = "generic-ohci";      848                 compatible = "generic-ohci";
849                 reg = <0x300e0000 0x20000>;       849                 reg = <0x300e0000 0x20000>;
850                 interrupts = <GIC_SPI 20 IRQ_T    850                 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
851                 clocks = <&cru HCLK_HOST1>, <&    851                 clocks = <&cru HCLK_HOST1>, <&u2phy1>;
852                 phys = <&u2phy1_otg>;             852                 phys = <&u2phy1_otg>;
853                 phy-names = "usb";                853                 phy-names = "usb";
854                 status = "disabled";              854                 status = "disabled";
855         };                                        855         };
856                                                   856 
857         usb_host2_ehci: usb@30100000 {            857         usb_host2_ehci: usb@30100000 {
858                 compatible = "generic-ehci";      858                 compatible = "generic-ehci";
859                 reg = <0x30100000 0x20000>;       859                 reg = <0x30100000 0x20000>;
860                 interrupts = <GIC_SPI 66 IRQ_T    860                 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
861                 clocks = <&cru HCLK_HOST2>, <&    861                 clocks = <&cru HCLK_HOST2>, <&u2phy1>;
862                 phys = <&u2phy1_host>;            862                 phys = <&u2phy1_host>;
863                 phy-names = "usb";                863                 phy-names = "usb";
864                 status = "disabled";              864                 status = "disabled";
865         };                                        865         };
866                                                   866 
867         usb_host2_ohci: usb@30120000 {            867         usb_host2_ohci: usb@30120000 {
868                 compatible = "generic-ohci";      868                 compatible = "generic-ohci";
869                 reg = <0x30120000 0x20000>;       869                 reg = <0x30120000 0x20000>;
870                 interrupts = <GIC_SPI 67 IRQ_T    870                 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
871                 clocks = <&cru HCLK_HOST2>, <&    871                 clocks = <&cru HCLK_HOST2>, <&u2phy1>;
872                 phys = <&u2phy1_host>;            872                 phys = <&u2phy1_host>;
873                 phy-names = "usb";                873                 phy-names = "usb";
874                 status = "disabled";              874                 status = "disabled";
875         };                                        875         };
876                                                   876 
877         gmac: ethernet@30200000 {                 877         gmac: ethernet@30200000 {
878                 compatible = "rockchip,rk3228-    878                 compatible = "rockchip,rk3228-gmac";
879                 reg = <0x30200000 0x10000>;       879                 reg = <0x30200000 0x10000>;
880                 interrupts = <GIC_SPI 24 IRQ_T    880                 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
881                 interrupt-names = "macirq";       881                 interrupt-names = "macirq";
882                 clocks = <&cru SCLK_MAC>, <&cr    882                 clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX>,
883                         <&cru SCLK_MAC_TX>, <&    883                         <&cru SCLK_MAC_TX>, <&cru SCLK_MAC_REF>,
884                         <&cru SCLK_MAC_REFOUT>    884                         <&cru SCLK_MAC_REFOUT>, <&cru ACLK_GMAC>,
885                         <&cru PCLK_GMAC>;         885                         <&cru PCLK_GMAC>;
886                 clock-names = "stmmaceth", "ma    886                 clock-names = "stmmaceth", "mac_clk_rx",
887                         "mac_clk_tx", "clk_mac    887                         "mac_clk_tx", "clk_mac_ref",
888                         "clk_mac_refout", "acl    888                         "clk_mac_refout", "aclk_mac",
889                         "pclk_mac";               889                         "pclk_mac";
890                 resets = <&cru SRST_GMAC>;        890                 resets = <&cru SRST_GMAC>;
891                 reset-names = "stmmaceth";        891                 reset-names = "stmmaceth";
892                 rockchip,grf = <&grf>;            892                 rockchip,grf = <&grf>;
893                 status = "disabled";              893                 status = "disabled";
894         };                                        894         };
895                                                   895 
896         qos_iep: qos@31030080 {                   896         qos_iep: qos@31030080 {
897                 compatible = "rockchip,rk3228-    897                 compatible = "rockchip,rk3228-qos", "syscon";
898                 reg = <0x31030080 0x20>;          898                 reg = <0x31030080 0x20>;
899         };                                        899         };
900                                                   900 
901         qos_rga_w: qos@31030100 {                 901         qos_rga_w: qos@31030100 {
902                 compatible = "rockchip,rk3228-    902                 compatible = "rockchip,rk3228-qos", "syscon";
903                 reg = <0x31030100 0x20>;          903                 reg = <0x31030100 0x20>;
904         };                                        904         };
905                                                   905 
906         qos_hdcp: qos@31030180 {                  906         qos_hdcp: qos@31030180 {
907                 compatible = "rockchip,rk3228-    907                 compatible = "rockchip,rk3228-qos", "syscon";
908                 reg = <0x31030180 0x20>;          908                 reg = <0x31030180 0x20>;
909         };                                        909         };
910                                                   910 
911         qos_rga_r: qos@31030200 {                 911         qos_rga_r: qos@31030200 {
912                 compatible = "rockchip,rk3228-    912                 compatible = "rockchip,rk3228-qos", "syscon";
913                 reg = <0x31030200 0x20>;          913                 reg = <0x31030200 0x20>;
914         };                                        914         };
915                                                   915 
916         qos_vpu: qos@31040000 {                   916         qos_vpu: qos@31040000 {
917                 compatible = "rockchip,rk3228-    917                 compatible = "rockchip,rk3228-qos", "syscon";
918                 reg = <0x31040000 0x20>;          918                 reg = <0x31040000 0x20>;
919         };                                        919         };
920                                                   920 
921         qos_gpu: qos@31050000 {                   921         qos_gpu: qos@31050000 {
922                 compatible = "rockchip,rk3228-    922                 compatible = "rockchip,rk3228-qos", "syscon";
923                 reg = <0x31050000 0x20>;          923                 reg = <0x31050000 0x20>;
924         };                                        924         };
925                                                   925 
926         qos_vop: qos@31060000 {                   926         qos_vop: qos@31060000 {
927                 compatible = "rockchip,rk3228-    927                 compatible = "rockchip,rk3228-qos", "syscon";
928                 reg = <0x31060000 0x20>;          928                 reg = <0x31060000 0x20>;
929         };                                        929         };
930                                                   930 
931         qos_rkvdec_r: qos@31070000 {              931         qos_rkvdec_r: qos@31070000 {
932                 compatible = "rockchip,rk3228-    932                 compatible = "rockchip,rk3228-qos", "syscon";
933                 reg = <0x31070000 0x20>;          933                 reg = <0x31070000 0x20>;
934         };                                        934         };
935                                                   935 
936         qos_rkvdec_w: qos@31070080 {              936         qos_rkvdec_w: qos@31070080 {
937                 compatible = "rockchip,rk3228-    937                 compatible = "rockchip,rk3228-qos", "syscon";
938                 reg = <0x31070080 0x20>;          938                 reg = <0x31070080 0x20>;
939         };                                        939         };
940                                                   940 
941         gic: interrupt-controller@32010000 {      941         gic: interrupt-controller@32010000 {
942                 compatible = "arm,gic-400";       942                 compatible = "arm,gic-400";
943                 interrupt-controller;             943                 interrupt-controller;
944                 #interrupt-cells = <3>;           944                 #interrupt-cells = <3>;
945                 #address-cells = <0>;             945                 #address-cells = <0>;
946                                                   946 
947                 reg = <0x32011000 0x1000>,        947                 reg = <0x32011000 0x1000>,
948                       <0x32012000 0x2000>,        948                       <0x32012000 0x2000>,
949                       <0x32014000 0x2000>,        949                       <0x32014000 0x2000>,
950                       <0x32016000 0x2000>;        950                       <0x32016000 0x2000>;
951                 interrupts = <GIC_PPI 9 (GIC_C    951                 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
952         };                                        952         };
953                                                   953 
954         pinctrl: pinctrl {                        954         pinctrl: pinctrl {
955                 compatible = "rockchip,rk3228-    955                 compatible = "rockchip,rk3228-pinctrl";
956                 rockchip,grf = <&grf>;            956                 rockchip,grf = <&grf>;
957                 #address-cells = <1>;             957                 #address-cells = <1>;
958                 #size-cells = <1>;                958                 #size-cells = <1>;
959                 ranges;                           959                 ranges;
960                                                   960 
961                 gpio0: gpio@11110000 {            961                 gpio0: gpio@11110000 {
962                         compatible = "rockchip    962                         compatible = "rockchip,gpio-bank";
963                         reg = <0x11110000 0x10    963                         reg = <0x11110000 0x100>;
964                         interrupts = <GIC_SPI     964                         interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
965                         clocks = <&cru PCLK_GP    965                         clocks = <&cru PCLK_GPIO0>;
966                                                   966 
967                         gpio-controller;          967                         gpio-controller;
968                         #gpio-cells = <2>;        968                         #gpio-cells = <2>;
969                                                   969 
970                         interrupt-controller;     970                         interrupt-controller;
971                         #interrupt-cells = <2>    971                         #interrupt-cells = <2>;
972                 };                                972                 };
973                                                   973 
974                 gpio1: gpio@11120000 {            974                 gpio1: gpio@11120000 {
975                         compatible = "rockchip    975                         compatible = "rockchip,gpio-bank";
976                         reg = <0x11120000 0x10    976                         reg = <0x11120000 0x100>;
977                         interrupts = <GIC_SPI     977                         interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
978                         clocks = <&cru PCLK_GP    978                         clocks = <&cru PCLK_GPIO1>;
979                                                   979 
980                         gpio-controller;          980                         gpio-controller;
981                         #gpio-cells = <2>;        981                         #gpio-cells = <2>;
982                                                   982 
983                         interrupt-controller;     983                         interrupt-controller;
984                         #interrupt-cells = <2>    984                         #interrupt-cells = <2>;
985                 };                                985                 };
986                                                   986 
987                 gpio2: gpio@11130000 {            987                 gpio2: gpio@11130000 {
988                         compatible = "rockchip    988                         compatible = "rockchip,gpio-bank";
989                         reg = <0x11130000 0x10    989                         reg = <0x11130000 0x100>;
990                         interrupts = <GIC_SPI     990                         interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
991                         clocks = <&cru PCLK_GP    991                         clocks = <&cru PCLK_GPIO2>;
992                                                   992 
993                         gpio-controller;          993                         gpio-controller;
994                         #gpio-cells = <2>;        994                         #gpio-cells = <2>;
995                                                   995 
996                         interrupt-controller;     996                         interrupt-controller;
997                         #interrupt-cells = <2>    997                         #interrupt-cells = <2>;
998                 };                                998                 };
999                                                   999 
1000                 gpio3: gpio@11140000 {           1000                 gpio3: gpio@11140000 {
1001                         compatible = "rockchi    1001                         compatible = "rockchip,gpio-bank";
1002                         reg = <0x11140000 0x1    1002                         reg = <0x11140000 0x100>;
1003                         interrupts = <GIC_SPI    1003                         interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
1004                         clocks = <&cru PCLK_G    1004                         clocks = <&cru PCLK_GPIO3>;
1005                                                  1005 
1006                         gpio-controller;         1006                         gpio-controller;
1007                         #gpio-cells = <2>;       1007                         #gpio-cells = <2>;
1008                                                  1008 
1009                         interrupt-controller;    1009                         interrupt-controller;
1010                         #interrupt-cells = <2    1010                         #interrupt-cells = <2>;
1011                 };                               1011                 };
1012                                                  1012 
1013                 pcfg_pull_up: pcfg-pull-up {     1013                 pcfg_pull_up: pcfg-pull-up {
1014                         bias-pull-up;            1014                         bias-pull-up;
1015                 };                               1015                 };
1016                                                  1016 
1017                 pcfg_pull_down: pcfg-pull-dow    1017                 pcfg_pull_down: pcfg-pull-down {
1018                         bias-pull-down;          1018                         bias-pull-down;
1019                 };                               1019                 };
1020                                                  1020 
1021                 pcfg_pull_none: pcfg-pull-non    1021                 pcfg_pull_none: pcfg-pull-none {
1022                         bias-disable;            1022                         bias-disable;
1023                 };                               1023                 };
1024                                                  1024 
1025                 pcfg_pull_none_drv_12ma: pcfg    1025                 pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma {
1026                         drive-strength = <12>    1026                         drive-strength = <12>;
1027                 };                               1027                 };
1028                                                  1028 
1029                 sdmmc {                          1029                 sdmmc {
1030                         sdmmc_clk: sdmmc-clk     1030                         sdmmc_clk: sdmmc-clk {
1031                                 rockchip,pins    1031                                 rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none_drv_12ma>;
1032                         };                       1032                         };
1033                                                  1033 
1034                         sdmmc_cmd: sdmmc-cmd     1034                         sdmmc_cmd: sdmmc-cmd {
1035                                 rockchip,pins    1035                                 rockchip,pins = <1 RK_PB7 1 &pcfg_pull_none_drv_12ma>;
1036                         };                       1036                         };
1037                                                  1037 
1038                         sdmmc_bus4: sdmmc-bus    1038                         sdmmc_bus4: sdmmc-bus4 {
1039                                 rockchip,pins    1039                                 rockchip,pins = <1 RK_PC2 1 &pcfg_pull_none_drv_12ma>,
1040                                                  1040                                                 <1 RK_PC3 1 &pcfg_pull_none_drv_12ma>,
1041                                                  1041                                                 <1 RK_PC4 1 &pcfg_pull_none_drv_12ma>,
1042                                                  1042                                                 <1 RK_PC5 1 &pcfg_pull_none_drv_12ma>;
1043                         };                       1043                         };
1044                 };                               1044                 };
1045                                                  1045 
1046                 sdio {                           1046                 sdio {
1047                         sdio_clk: sdio-clk {     1047                         sdio_clk: sdio-clk {
1048                                 rockchip,pins    1048                                 rockchip,pins = <3 RK_PA0 1 &pcfg_pull_none_drv_12ma>;
1049                         };                       1049                         };
1050                                                  1050 
1051                         sdio_cmd: sdio-cmd {     1051                         sdio_cmd: sdio-cmd {
1052                                 rockchip,pins    1052                                 rockchip,pins = <3 RK_PA1 1 &pcfg_pull_none_drv_12ma>;
1053                         };                       1053                         };
1054                                                  1054 
1055                         sdio_bus4: sdio-bus4     1055                         sdio_bus4: sdio-bus4 {
1056                                 rockchip,pins    1056                                 rockchip,pins = <3 RK_PA2 1 &pcfg_pull_none_drv_12ma>,
1057                                                  1057                                                 <3 RK_PA3 1 &pcfg_pull_none_drv_12ma>,
1058                                                  1058                                                 <3 RK_PA4 1 &pcfg_pull_none_drv_12ma>,
1059                                                  1059                                                 <3 RK_PA5 1 &pcfg_pull_none_drv_12ma>;
1060                         };                       1060                         };
1061                 };                               1061                 };
1062                                                  1062 
1063                 emmc {                           1063                 emmc {
1064                         emmc_clk: emmc-clk {     1064                         emmc_clk: emmc-clk {
1065                                 rockchip,pins    1065                                 rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>;
1066                         };                       1066                         };
1067                                                  1067 
1068                         emmc_cmd: emmc-cmd {     1068                         emmc_cmd: emmc-cmd {
1069                                 rockchip,pins    1069                                 rockchip,pins = <1 RK_PC6 2 &pcfg_pull_none>;
1070                         };                       1070                         };
1071                                                  1071 
1072                         emmc_bus8: emmc-bus8     1072                         emmc_bus8: emmc-bus8 {
1073                                 rockchip,pins    1073                                 rockchip,pins = <1 RK_PD0 2 &pcfg_pull_none>,
1074                                                  1074                                                 <1 RK_PD1 2 &pcfg_pull_none>,
1075                                                  1075                                                 <1 RK_PD2 2 &pcfg_pull_none>,
1076                                                  1076                                                 <1 RK_PD3 2 &pcfg_pull_none>,
1077                                                  1077                                                 <1 RK_PD4 2 &pcfg_pull_none>,
1078                                                  1078                                                 <1 RK_PD5 2 &pcfg_pull_none>,
1079                                                  1079                                                 <1 RK_PD6 2 &pcfg_pull_none>,
1080                                                  1080                                                 <1 RK_PD7 2 &pcfg_pull_none>;
1081                         };                       1081                         };
1082                 };                               1082                 };
1083                                                  1083 
1084                 gmac {                           1084                 gmac {
1085                         rgmii_pins: rgmii-pin    1085                         rgmii_pins: rgmii-pins {
1086                                 rockchip,pins    1086                                 rockchip,pins = <2 RK_PB6 1 &pcfg_pull_none>,
1087                                                  1087                                                 <2 RK_PB4 1 &pcfg_pull_none>,
1088                                                  1088                                                 <2 RK_PD1 1 &pcfg_pull_none>,
1089                                                  1089                                                 <2 RK_PC3 1 &pcfg_pull_none_drv_12ma>,
1090                                                  1090                                                 <2 RK_PC2 1 &pcfg_pull_none_drv_12ma>,
1091                                                  1091                                                 <2 RK_PC6 1 &pcfg_pull_none_drv_12ma>,
1092                                                  1092                                                 <2 RK_PC7 1 &pcfg_pull_none_drv_12ma>,
1093                                                  1093                                                 <2 RK_PB1 1 &pcfg_pull_none_drv_12ma>,
1094                                                  1094                                                 <2 RK_PB5 1 &pcfg_pull_none_drv_12ma>,
1095                                                  1095                                                 <2 RK_PC1 1 &pcfg_pull_none>,
1096                                                  1096                                                 <2 RK_PC0 1 &pcfg_pull_none>,
1097                                                  1097                                                 <2 RK_PC5 2 &pcfg_pull_none>,
1098                                                  1098                                                 <2 RK_PC4 2 &pcfg_pull_none>,
1099                                                  1099                                                 <2 RK_PB3 1 &pcfg_pull_none>,
1100                                                  1100                                                 <2 RK_PB0 1 &pcfg_pull_none>;
1101                         };                       1101                         };
1102                                                  1102 
1103                         rmii_pins: rmii-pins     1103                         rmii_pins: rmii-pins {
1104                                 rockchip,pins    1104                                 rockchip,pins = <2 RK_PB6 1 &pcfg_pull_none>,
1105                                                  1105                                                 <2 RK_PB4 1 &pcfg_pull_none>,
1106                                                  1106                                                 <2 RK_PD1 1 &pcfg_pull_none>,
1107                                                  1107                                                 <2 RK_PC3 1 &pcfg_pull_none_drv_12ma>,
1108                                                  1108                                                 <2 RK_PC2 1 &pcfg_pull_none_drv_12ma>,
1109                                                  1109                                                 <2 RK_PB5 1 &pcfg_pull_none_drv_12ma>,
1110                                                  1110                                                 <2 RK_PC1 1 &pcfg_pull_none>,
1111                                                  1111                                                 <2 RK_PC0 1 &pcfg_pull_none>,
1112                                                  1112                                                 <2 RK_PB0 1 &pcfg_pull_none>,
1113                                                  1113                                                 <2 RK_PB7 1 &pcfg_pull_none>;
1114                         };                       1114                         };
1115                                                  1115 
1116                         phy_pins: phy-pins {     1116                         phy_pins: phy-pins {
1117                                 rockchip,pins    1117                                 rockchip,pins = <2 RK_PB6 2 &pcfg_pull_none>,
1118                                                  1118                                                 <2 RK_PB0 2 &pcfg_pull_none>;
1119                         };                       1119                         };
1120                 };                               1120                 };
1121                                                  1121 
1122                 hdmi {                           1122                 hdmi {
1123                         hdmi_hpd: hdmi-hpd {     1123                         hdmi_hpd: hdmi-hpd {
1124                                 rockchip,pins    1124                                 rockchip,pins = <0 RK_PB7 1 &pcfg_pull_down>;
1125                         };                       1125                         };
1126                                                  1126 
1127                         hdmii2c_xfer: hdmii2c    1127                         hdmii2c_xfer: hdmii2c-xfer {
1128                                 rockchip,pins    1128                                 rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>,
1129                                                  1129                                                 <0 RK_PA7 2 &pcfg_pull_none>;
1130                         };                       1130                         };
1131                                                  1131 
1132                         hdmi_cec: hdmi-cec {     1132                         hdmi_cec: hdmi-cec {
1133                                 rockchip,pins    1133                                 rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>;
1134                         };                       1134                         };
1135                 };                               1135                 };
1136                                                  1136 
1137                 i2c0 {                           1137                 i2c0 {
1138                         i2c0_xfer: i2c0-xfer     1138                         i2c0_xfer: i2c0-xfer {
1139                                 rockchip,pins    1139                                 rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>,
1140                                                  1140                                                 <0 RK_PA1 1 &pcfg_pull_none>;
1141                         };                       1141                         };
1142                 };                               1142                 };
1143                                                  1143 
1144                 i2c1 {                           1144                 i2c1 {
1145                         i2c1_xfer: i2c1-xfer     1145                         i2c1_xfer: i2c1-xfer {
1146                                 rockchip,pins    1146                                 rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>,
1147                                                  1147                                                 <0 RK_PA3 1 &pcfg_pull_none>;
1148                         };                       1148                         };
1149                 };                               1149                 };
1150                                                  1150 
1151                 i2c2 {                           1151                 i2c2 {
1152                         i2c2_xfer: i2c2-xfer     1152                         i2c2_xfer: i2c2-xfer {
1153                                 rockchip,pins    1153                                 rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>,
1154                                                  1154                                                 <2 RK_PC5 1 &pcfg_pull_none>;
1155                         };                       1155                         };
1156                 };                               1156                 };
1157                                                  1157 
1158                 i2c3 {                           1158                 i2c3 {
1159                         i2c3_xfer: i2c3-xfer     1159                         i2c3_xfer: i2c3-xfer {
1160                                 rockchip,pins    1160                                 rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>,
1161                                                  1161                                                 <0 RK_PA7 1 &pcfg_pull_none>;
1162                         };                       1162                         };
1163                 };                               1163                 };
1164                                                  1164 
1165                 spi0 {                           1165                 spi0 {
1166                         spi0_clk: spi0-clk {     1166                         spi0_clk: spi0-clk {
1167                                 rockchip,pins    1167                                 rockchip,pins = <0 RK_PB1 2 &pcfg_pull_up>;
1168                         };                       1168                         };
1169                         spi0_cs0: spi0-cs0 {     1169                         spi0_cs0: spi0-cs0 {
1170                                 rockchip,pins    1170                                 rockchip,pins = <0 RK_PB6 2 &pcfg_pull_up>;
1171                         };                       1171                         };
1172                         spi0_tx: spi0-tx {       1172                         spi0_tx: spi0-tx {
1173                                 rockchip,pins    1173                                 rockchip,pins = <0 RK_PB3 2 &pcfg_pull_up>;
1174                         };                       1174                         };
1175                         spi0_rx: spi0-rx {       1175                         spi0_rx: spi0-rx {
1176                                 rockchip,pins    1176                                 rockchip,pins = <0 RK_PB5 2 &pcfg_pull_up>;
1177                         };                       1177                         };
1178                         spi0_cs1: spi0-cs1 {     1178                         spi0_cs1: spi0-cs1 {
1179                                 rockchip,pins    1179                                 rockchip,pins = <1 RK_PB4 1 &pcfg_pull_up>;
1180                         };                       1180                         };
1181                 };                               1181                 };
1182                                                  1182 
1183                 spi1 {                           1183                 spi1 {
1184                         spi1_clk: spi1-clk {     1184                         spi1_clk: spi1-clk {
1185                                 rockchip,pins    1185                                 rockchip,pins = <0 RK_PC7 2 &pcfg_pull_up>;
1186                         };                       1186                         };
1187                         spi1_cs0: spi1-cs0 {     1187                         spi1_cs0: spi1-cs0 {
1188                                 rockchip,pins    1188                                 rockchip,pins = <2 RK_PA2 2 &pcfg_pull_up>;
1189                         };                       1189                         };
1190                         spi1_rx: spi1-rx {       1190                         spi1_rx: spi1-rx {
1191                                 rockchip,pins    1191                                 rockchip,pins = <2 RK_PA0 2 &pcfg_pull_up>;
1192                         };                       1192                         };
1193                         spi1_tx: spi1-tx {       1193                         spi1_tx: spi1-tx {
1194                                 rockchip,pins    1194                                 rockchip,pins = <2 RK_PA1 2 &pcfg_pull_up>;
1195                         };                       1195                         };
1196                         spi1_cs1: spi1-cs1 {     1196                         spi1_cs1: spi1-cs1 {
1197                                 rockchip,pins    1197                                 rockchip,pins = <2 RK_PA3 2 &pcfg_pull_up>;
1198                         };                       1198                         };
1199                 };                               1199                 };
1200                                                  1200 
1201                 i2s1 {                           1201                 i2s1 {
1202                         i2s1_bus: i2s1-bus {     1202                         i2s1_bus: i2s1-bus {
1203                                 rockchip,pins    1203                                 rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>,
1204                                                  1204                                                 <0 RK_PB1 1 &pcfg_pull_none>,
1205                                                  1205                                                 <0 RK_PB3 1 &pcfg_pull_none>,
1206                                                  1206                                                 <0 RK_PB4 1 &pcfg_pull_none>,
1207                                                  1207                                                 <0 RK_PB5 1 &pcfg_pull_none>,
1208                                                  1208                                                 <0 RK_PB6 1 &pcfg_pull_none>,
1209                                                  1209                                                 <1 RK_PA2 2 &pcfg_pull_none>,
1210                                                  1210                                                 <1 RK_PA4 2 &pcfg_pull_none>,
1211                                                  1211                                                 <1 RK_PA5 2 &pcfg_pull_none>;
1212                         };                       1212                         };
1213                 };                               1213                 };
1214                                                  1214 
1215                 pwm0 {                           1215                 pwm0 {
1216                         pwm0_pin: pwm0-pin {     1216                         pwm0_pin: pwm0-pin {
1217                                 rockchip,pins    1217                                 rockchip,pins = <3 RK_PC5 1 &pcfg_pull_none>;
1218                         };                       1218                         };
1219                 };                               1219                 };
1220                                                  1220 
1221                 pwm1 {                           1221                 pwm1 {
1222                         pwm1_pin: pwm1-pin {     1222                         pwm1_pin: pwm1-pin {
1223                                 rockchip,pins    1223                                 rockchip,pins = <0 RK_PD6 2 &pcfg_pull_none>;
1224                         };                       1224                         };
1225                 };                               1225                 };
1226                                                  1226 
1227                 pwm2 {                           1227                 pwm2 {
1228                         pwm2_pin: pwm2-pin {     1228                         pwm2_pin: pwm2-pin {
1229                                 rockchip,pins    1229                                 rockchip,pins = <1 RK_PB4 2 &pcfg_pull_none>;
1230                         };                       1230                         };
1231                 };                               1231                 };
1232                                                  1232 
1233                 pwm3 {                           1233                 pwm3 {
1234                         pwm3_pin: pwm3-pin {     1234                         pwm3_pin: pwm3-pin {
1235                                 rockchip,pins    1235                                 rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>;
1236                         };                       1236                         };
1237                 };                               1237                 };
1238                                                  1238 
1239                 spdif {                          1239                 spdif {
1240                         spdif_tx: spdif-tx {     1240                         spdif_tx: spdif-tx {
1241                                 rockchip,pins    1241                                 rockchip,pins = <3 RK_PD7 2 &pcfg_pull_none>;
1242                         };                       1242                         };
1243                 };                               1243                 };
1244                                                  1244 
1245                 tsadc {                          1245                 tsadc {
1246                         otp_pin: otp-pin {       1246                         otp_pin: otp-pin {
1247                                 rockchip,pins    1247                                 rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
1248                         };                       1248                         };
1249                                                  1249 
1250                         otp_out: otp-out {       1250                         otp_out: otp-out {
1251                                 rockchip,pins    1251                                 rockchip,pins = <0 RK_PD0 2 &pcfg_pull_none>;
1252                         };                       1252                         };
1253                 };                               1253                 };
1254                                                  1254 
1255                 uart0 {                          1255                 uart0 {
1256                         uart0_xfer: uart0-xfe    1256                         uart0_xfer: uart0-xfer {
1257                                 rockchip,pins    1257                                 rockchip,pins = <2 RK_PD2 1 &pcfg_pull_none>,
1258                                                  1258                                                 <2 RK_PD3 1 &pcfg_pull_none>;
1259                         };                       1259                         };
1260                                                  1260 
1261                         uart0_cts: uart0-cts     1261                         uart0_cts: uart0-cts {
1262                                 rockchip,pins    1262                                 rockchip,pins = <2 RK_PD5 1 &pcfg_pull_none>;
1263                         };                       1263                         };
1264                                                  1264 
1265                         uart0_rts: uart0-rts     1265                         uart0_rts: uart0-rts {
1266                                 rockchip,pins    1266                                 rockchip,pins = <0 RK_PC1 1 &pcfg_pull_none>;
1267                         };                       1267                         };
1268                 };                               1268                 };
1269                                                  1269 
1270                 uart1 {                          1270                 uart1 {
1271                         uart1_xfer: uart1-xfe    1271                         uart1_xfer: uart1-xfer {
1272                                 rockchip,pins    1272                                 rockchip,pins = <1 RK_PB1 1 &pcfg_pull_none>,
1273                                                  1273                                                 <1 RK_PB2 1 &pcfg_pull_none>;
1274                         };                       1274                         };
1275                                                  1275 
1276                         uart1_cts: uart1-cts     1276                         uart1_cts: uart1-cts {
1277                                 rockchip,pins    1277                                 rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>;
1278                         };                       1278                         };
1279                                                  1279 
1280                         uart1_rts: uart1-rts     1280                         uart1_rts: uart1-rts {
1281                                 rockchip,pins    1281                                 rockchip,pins = <1 RK_PB3 1 &pcfg_pull_none>;
1282                         };                       1282                         };
1283                 };                               1283                 };
1284                                                  1284 
1285                 uart2 {                          1285                 uart2 {
1286                         uart2_xfer: uart2-xfe    1286                         uart2_xfer: uart2-xfer {
1287                                 rockchip,pins    1287                                 rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
1288                                                  1288                                                 <1 RK_PC3 2 &pcfg_pull_none>;
1289                         };                       1289                         };
1290                                                  1290 
1291                         uart21_xfer: uart21-x    1291                         uart21_xfer: uart21-xfer {
1292                                 rockchip,pins    1292                                 rockchip,pins = <1 RK_PB2 2 &pcfg_pull_up>,
1293                                                  1293                                                 <1 RK_PB1 2 &pcfg_pull_none>;
1294                         };                       1294                         };
1295                                                  1295 
1296                         uart2_cts: uart2-cts     1296                         uart2_cts: uart2-cts {
1297                                 rockchip,pins    1297                                 rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>;
1298                         };                       1298                         };
1299                                                  1299 
1300                         uart2_rts: uart2-rts     1300                         uart2_rts: uart2-rts {
1301                                 rockchip,pins    1301                                 rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>;
1302                         };                       1302                         };
1303                 };                               1303                 };
1304         };                                       1304         };
1305 };                                               1305 };
                                                      

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