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

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


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2019 Fuzhou Rockchip Electron      3  * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd.
  4  */                                                 4  */
  5                                                     5 
  6 #include <dt-bindings/clock/rockchip,rv1126-cr      6 #include <dt-bindings/clock/rockchip,rv1126-cru.h>
  7 #include <dt-bindings/gpio/gpio.h>                  7 #include <dt-bindings/gpio/gpio.h>
  8 #include <dt-bindings/interrupt-controller/arm      8 #include <dt-bindings/interrupt-controller/arm-gic.h>
  9 #include <dt-bindings/interrupt-controller/irq      9 #include <dt-bindings/interrupt-controller/irq.h>
 10 #include <dt-bindings/pinctrl/rockchip.h>          10 #include <dt-bindings/pinctrl/rockchip.h>
 11 #include <dt-bindings/power/rockchip,rv1126-po     11 #include <dt-bindings/power/rockchip,rv1126-power.h>
 12 #include <dt-bindings/soc/rockchip,boot-mode.h     12 #include <dt-bindings/soc/rockchip,boot-mode.h>
 13                                                    13 
 14 / {                                                14 / {
 15         #address-cells = <1>;                      15         #address-cells = <1>;
 16         #size-cells = <1>;                         16         #size-cells = <1>;
 17                                                    17 
 18         compatible = "rockchip,rv1126";            18         compatible = "rockchip,rv1126";
 19                                                    19 
 20         interrupt-parent = <&gic>;                 20         interrupt-parent = <&gic>;
 21                                                    21 
 22         aliases {                                  22         aliases {
 23                 i2c0 = &i2c0;                      23                 i2c0 = &i2c0;
 24                 i2c2 = &i2c2;                      24                 i2c2 = &i2c2;
 25                 i2c3 = &i2c3;                      25                 i2c3 = &i2c3;
 26                 serial0 = &uart0;                  26                 serial0 = &uart0;
 27                 serial1 = &uart1;                  27                 serial1 = &uart1;
 28                 serial2 = &uart2;                  28                 serial2 = &uart2;
 29                 serial3 = &uart3;                  29                 serial3 = &uart3;
 30                 serial4 = &uart4;                  30                 serial4 = &uart4;
 31                 serial5 = &uart5;                  31                 serial5 = &uart5;
 32         };                                         32         };
 33                                                    33 
 34         cpus {                                     34         cpus {
 35                 #address-cells = <1>;              35                 #address-cells = <1>;
 36                 #size-cells = <0>;                 36                 #size-cells = <0>;
 37                                                    37 
 38                 cpu0: cpu@f00 {                    38                 cpu0: cpu@f00 {
 39                         device_type = "cpu";       39                         device_type = "cpu";
 40                         compatible = "arm,cort     40                         compatible = "arm,cortex-a7";
 41                         reg = <0xf00>;             41                         reg = <0xf00>;
 42                         enable-method = "psci"     42                         enable-method = "psci";
 43                         clocks = <&cru ARMCLK>     43                         clocks = <&cru ARMCLK>;
 44                 };                                 44                 };
 45                                                    45 
 46                 cpu1: cpu@f01 {                    46                 cpu1: cpu@f01 {
 47                         device_type = "cpu";       47                         device_type = "cpu";
 48                         compatible = "arm,cort     48                         compatible = "arm,cortex-a7";
 49                         reg = <0xf01>;             49                         reg = <0xf01>;
 50                         enable-method = "psci"     50                         enable-method = "psci";
 51                         clocks = <&cru ARMCLK>     51                         clocks = <&cru ARMCLK>;
 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                         enable-method = "psci"     58                         enable-method = "psci";
 59                         clocks = <&cru ARMCLK>     59                         clocks = <&cru ARMCLK>;
 60                 };                                 60                 };
 61                                                    61 
 62                 cpu3: cpu@f03 {                    62                 cpu3: cpu@f03 {
 63                         device_type = "cpu";       63                         device_type = "cpu";
 64                         compatible = "arm,cort     64                         compatible = "arm,cortex-a7";
 65                         reg = <0xf03>;             65                         reg = <0xf03>;
 66                         enable-method = "psci"     66                         enable-method = "psci";
 67                         clocks = <&cru ARMCLK>     67                         clocks = <&cru ARMCLK>;
 68                 };                                 68                 };
 69         };                                         69         };
 70                                                    70 
 71         arm-pmu {                                  71         arm-pmu {
 72                 compatible = "arm,cortex-a7-pm     72                 compatible = "arm,cortex-a7-pmu";
 73                 interrupts = <GIC_SPI 123 IRQ_     73                 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
 74                              <GIC_SPI 124 IRQ_     74                              <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
 75                              <GIC_SPI 125 IRQ_     75                              <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
 76                              <GIC_SPI 126 IRQ_     76                              <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
 77                 interrupt-affinity = <&cpu0>,      77                 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
 78         };                                         78         };
 79                                                    79 
 80         psci {                                     80         psci {
 81                 compatible = "arm,psci-1.0";       81                 compatible = "arm,psci-1.0";
 82                 method = "smc";                    82                 method = "smc";
 83         };                                         83         };
 84                                                    84 
 85         timer {                                    85         timer {
 86                 compatible = "arm,armv7-timer"     86                 compatible = "arm,armv7-timer";
 87                 interrupts = <GIC_PPI 13 (GIC_     87                 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
 88                              <GIC_PPI 14 (GIC_     88                              <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
 89                              <GIC_PPI 11 (GIC_     89                              <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
 90                              <GIC_PPI 10 (GIC_     90                              <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
 91                 clock-frequency = <24000000>;      91                 clock-frequency = <24000000>;
 92         };                                         92         };
 93                                                    93 
 94         display_subsystem {                        94         display_subsystem {
 95                 compatible = "rockchip,display     95                 compatible = "rockchip,display-subsystem";
 96                 ports = <&vop_out>;                96                 ports = <&vop_out>;
 97         };                                         97         };
 98                                                    98 
 99         xin24m: oscillator {                       99         xin24m: oscillator {
100                 compatible = "fixed-clock";       100                 compatible = "fixed-clock";
101                 clock-frequency = <24000000>;     101                 clock-frequency = <24000000>;
102                 clock-output-names = "xin24m";    102                 clock-output-names = "xin24m";
103                 #clock-cells = <0>;               103                 #clock-cells = <0>;
104         };                                        104         };
105                                                   105 
106         grf: syscon@fe000000 {                    106         grf: syscon@fe000000 {
107                 compatible = "rockchip,rv1126-    107                 compatible = "rockchip,rv1126-grf", "syscon", "simple-mfd";
108                 reg = <0xfe000000 0x20000>;       108                 reg = <0xfe000000 0x20000>;
109         };                                        109         };
110                                                   110 
111         pmugrf: syscon@fe020000 {                 111         pmugrf: syscon@fe020000 {
112                 compatible = "rockchip,rv1126-    112                 compatible = "rockchip,rv1126-pmugrf", "syscon", "simple-mfd";
113                 reg = <0xfe020000 0x1000>;        113                 reg = <0xfe020000 0x1000>;
114                                                   114 
115                 pmu_io_domains: io-domains {      115                 pmu_io_domains: io-domains {
116                         compatible = "rockchip    116                         compatible = "rockchip,rv1126-pmu-io-voltage-domain";
117                         status = "disabled";      117                         status = "disabled";
118                 };                                118                 };
119         };                                        119         };
120                                                   120 
121         qos_emmc: qos@fe860000 {                  121         qos_emmc: qos@fe860000 {
122                 compatible = "rockchip,rv1126-    122                 compatible = "rockchip,rv1126-qos", "syscon";
123                 reg = <0xfe860000 0x20>;          123                 reg = <0xfe860000 0x20>;
124         };                                        124         };
125                                                   125 
126         qos_nandc: qos@fe860080 {                 126         qos_nandc: qos@fe860080 {
127                 compatible = "rockchip,rv1126-    127                 compatible = "rockchip,rv1126-qos", "syscon";
128                 reg = <0xfe860080 0x20>;          128                 reg = <0xfe860080 0x20>;
129         };                                        129         };
130                                                   130 
131         qos_sfc: qos@fe860200 {                   131         qos_sfc: qos@fe860200 {
132                 compatible = "rockchip,rv1126-    132                 compatible = "rockchip,rv1126-qos", "syscon";
133                 reg = <0xfe860200 0x20>;          133                 reg = <0xfe860200 0x20>;
134         };                                        134         };
135                                                   135 
136         qos_sdio: qos@fe86c000 {                  136         qos_sdio: qos@fe86c000 {
137                 compatible = "rockchip,rv1126-    137                 compatible = "rockchip,rv1126-qos", "syscon";
138                 reg = <0xfe86c000 0x20>;          138                 reg = <0xfe86c000 0x20>;
139         };                                        139         };
140                                                   140 
141         qos_iep: qos@fe8a0000 {                   141         qos_iep: qos@fe8a0000 {
142                 compatible = "rockchip,rv1126-    142                 compatible = "rockchip,rv1126-qos", "syscon";
143                 reg = <0xfe8a0000 0x20>;          143                 reg = <0xfe8a0000 0x20>;
144         };                                        144         };
145                                                   145 
146         qos_rga_rd: qos@fe8a0080 {                146         qos_rga_rd: qos@fe8a0080 {
147                 compatible = "rockchip,rv1126-    147                 compatible = "rockchip,rv1126-qos", "syscon";
148                 reg = <0xfe8a0080 0x20>;          148                 reg = <0xfe8a0080 0x20>;
149         };                                        149         };
150                                                   150 
151         qos_rga_wr: qos@fe8a0100 {                151         qos_rga_wr: qos@fe8a0100 {
152                 compatible = "rockchip,rv1126-    152                 compatible = "rockchip,rv1126-qos", "syscon";
153                 reg = <0xfe8a0100 0x20>;          153                 reg = <0xfe8a0100 0x20>;
154         };                                        154         };
155                                                   155 
156         qos_vop: qos@fe8a0180 {                   156         qos_vop: qos@fe8a0180 {
157                 compatible = "rockchip,rv1126-    157                 compatible = "rockchip,rv1126-qos", "syscon";
158                 reg = <0xfe8a0180 0x20>;          158                 reg = <0xfe8a0180 0x20>;
159         };                                        159         };
160                                                   160 
161         gic: interrupt-controller@feff0000 {      161         gic: interrupt-controller@feff0000 {
162                 compatible = "arm,gic-400";       162                 compatible = "arm,gic-400";
163                 interrupt-controller;             163                 interrupt-controller;
164                 #interrupt-cells = <3>;           164                 #interrupt-cells = <3>;
165                 #address-cells = <0>;             165                 #address-cells = <0>;
166                                                   166 
167                 reg = <0xfeff1000 0x1000>,        167                 reg = <0xfeff1000 0x1000>,
168                       <0xfeff2000 0x2000>,        168                       <0xfeff2000 0x2000>,
169                       <0xfeff4000 0x2000>,        169                       <0xfeff4000 0x2000>,
170                       <0xfeff6000 0x2000>;        170                       <0xfeff6000 0x2000>;
171                 interrupts = <GIC_PPI 9 (GIC_C    171                 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
172         };                                        172         };
173                                                   173 
174         pmu: power-management@ff3e0000 {          174         pmu: power-management@ff3e0000 {
175                 compatible = "rockchip,rv1126-    175                 compatible = "rockchip,rv1126-pmu", "syscon", "simple-mfd";
176                 reg = <0xff3e0000 0x1000>;        176                 reg = <0xff3e0000 0x1000>;
177                                                   177 
178                 power: power-controller {         178                 power: power-controller {
179                         compatible = "rockchip    179                         compatible = "rockchip,rv1126-power-controller";
180                         #power-domain-cells =     180                         #power-domain-cells = <1>;
181                         #address-cells = <1>;     181                         #address-cells = <1>;
182                         #size-cells = <0>;        182                         #size-cells = <0>;
183                                                   183 
184                         power-domain@RV1126_PD    184                         power-domain@RV1126_PD_NVM {
185                                 reg = <RV1126_    185                                 reg = <RV1126_PD_NVM>;
186                                 clocks = <&cru    186                                 clocks = <&cru HCLK_EMMC>,
187                                          <&cru    187                                          <&cru CLK_EMMC>,
188                                          <&cru    188                                          <&cru HCLK_NANDC>,
189                                          <&cru    189                                          <&cru CLK_NANDC>,
190                                          <&cru    190                                          <&cru HCLK_SFC>,
191                                          <&cru    191                                          <&cru HCLK_SFCXIP>,
192                                          <&cru    192                                          <&cru SCLK_SFC>;
193                                 pm_qos = <&qos    193                                 pm_qos = <&qos_emmc>,
194                                          <&qos    194                                          <&qos_nandc>,
195                                          <&qos    195                                          <&qos_sfc>;
196                                 #power-domain-    196                                 #power-domain-cells = <0>;
197                         };                        197                         };
198                                                   198 
199                         power-domain@RV1126_PD    199                         power-domain@RV1126_PD_SDIO {
200                                 reg = <RV1126_    200                                 reg = <RV1126_PD_SDIO>;
201                                 clocks = <&cru    201                                 clocks = <&cru HCLK_SDIO>,
202                                          <&cru    202                                          <&cru CLK_SDIO>;
203                                 pm_qos = <&qos    203                                 pm_qos = <&qos_sdio>;
204                                 #power-domain-    204                                 #power-domain-cells = <0>;
205                         };                        205                         };
206                                                   206 
207                         power-domain@RV1126_PD    207                         power-domain@RV1126_PD_VO {
208                                 reg = <RV1126_    208                                 reg = <RV1126_PD_VO>;
209                                 clocks = <&cru    209                                 clocks = <&cru ACLK_RGA>,
210                                          <&cru    210                                          <&cru HCLK_RGA>,
211                                          <&cru    211                                          <&cru CLK_RGA_CORE>,
212                                          <&cru    212                                          <&cru ACLK_VOP>,
213                                          <&cru    213                                          <&cru HCLK_VOP>,
214                                          <&cru    214                                          <&cru DCLK_VOP>,
215                                          <&cru    215                                          <&cru PCLK_DSIHOST>,
216                                          <&cru    216                                          <&cru ACLK_IEP>,
217                                          <&cru    217                                          <&cru HCLK_IEP>,
218                                          <&cru    218                                          <&cru CLK_IEP_CORE>;
219                                 pm_qos = <&qos    219                                 pm_qos = <&qos_rga_rd>,
220                                          <&qos    220                                          <&qos_rga_wr>,
221                                          <&qos    221                                          <&qos_vop>,
222                                          <&qos    222                                          <&qos_iep>;
223                                 #power-domain-    223                                 #power-domain-cells = <0>;
224                         };                        224                         };
225                 };                                225                 };
226         };                                        226         };
227                                                   227 
228         i2c0: i2c@ff3f0000 {                      228         i2c0: i2c@ff3f0000 {
229                 compatible = "rockchip,rv1126-    229                 compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
230                 reg = <0xff3f0000 0x1000>;        230                 reg = <0xff3f0000 0x1000>;
231                 interrupts = <GIC_SPI 4 IRQ_TY    231                 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
232                 rockchip,grf = <&pmugrf>;         232                 rockchip,grf = <&pmugrf>;
233                 clocks = <&pmucru CLK_I2C0>, <    233                 clocks = <&pmucru CLK_I2C0>, <&pmucru PCLK_I2C0>;
234                 clock-names = "i2c", "pclk";      234                 clock-names = "i2c", "pclk";
235                 pinctrl-names = "default";        235                 pinctrl-names = "default";
236                 pinctrl-0 = <&i2c0_xfer>;         236                 pinctrl-0 = <&i2c0_xfer>;
237                 #address-cells = <1>;             237                 #address-cells = <1>;
238                 #size-cells = <0>;                238                 #size-cells = <0>;
239                 status = "disabled";              239                 status = "disabled";
240         };                                        240         };
241                                                   241 
242         i2c2: i2c@ff400000 {                      242         i2c2: i2c@ff400000 {
243                 compatible = "rockchip,rv1126-    243                 compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
244                 reg = <0xff400000 0x1000>;        244                 reg = <0xff400000 0x1000>;
245                 interrupts = <GIC_SPI 6 IRQ_TY    245                 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
246                 rockchip,grf = <&pmugrf>;         246                 rockchip,grf = <&pmugrf>;
247                 clocks = <&pmucru CLK_I2C2>, <    247                 clocks = <&pmucru CLK_I2C2>, <&pmucru PCLK_I2C2>;
248                 clock-names = "i2c", "pclk";      248                 clock-names = "i2c", "pclk";
249                 pinctrl-names = "default";        249                 pinctrl-names = "default";
250                 pinctrl-0 = <&i2c2_xfer>;         250                 pinctrl-0 = <&i2c2_xfer>;
251                 #address-cells = <1>;             251                 #address-cells = <1>;
252                 #size-cells = <0>;                252                 #size-cells = <0>;
253                 status = "disabled";              253                 status = "disabled";
254         };                                        254         };
255                                                   255 
256         uart1: serial@ff410000 {                  256         uart1: serial@ff410000 {
257                 compatible = "rockchip,rv1126-    257                 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
258                 reg = <0xff410000 0x100>;         258                 reg = <0xff410000 0x100>;
259                 interrupts = <GIC_SPI 13 IRQ_T    259                 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
260                 clock-frequency = <24000000>;     260                 clock-frequency = <24000000>;
261                 clocks = <&pmucru SCLK_UART1>,    261                 clocks = <&pmucru SCLK_UART1>, <&pmucru PCLK_UART1>;
262                 clock-names = "baudclk", "apb_    262                 clock-names = "baudclk", "apb_pclk";
263                 dmas = <&dmac 7>, <&dmac 6>;      263                 dmas = <&dmac 7>, <&dmac 6>;
264                 dma-names = "tx", "rx";           264                 dma-names = "tx", "rx";
265                 pinctrl-names = "default";        265                 pinctrl-names = "default";
266                 pinctrl-0 = <&uart1m0_xfer>;      266                 pinctrl-0 = <&uart1m0_xfer>;
267                 reg-shift = <2>;                  267                 reg-shift = <2>;
268                 reg-io-width = <4>;               268                 reg-io-width = <4>;
269                 status = "disabled";              269                 status = "disabled";
270         };                                        270         };
271                                                   271 
272         pwm0: pwm@ff430000 {                      272         pwm0: pwm@ff430000 {
273                 compatible = "rockchip,rv1126-    273                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
274                 reg = <0xff430000 0x10>;          274                 reg = <0xff430000 0x10>;
275                 clock-names = "pwm", "pclk";      275                 clock-names = "pwm", "pclk";
276                 clocks = <&pmucru CLK_PWM0>, <    276                 clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>;
277                 pinctrl-names = "default";        277                 pinctrl-names = "default";
278                 pinctrl-0 = <&pwm0m0_pins>;       278                 pinctrl-0 = <&pwm0m0_pins>;
279                 #pwm-cells = <3>;                 279                 #pwm-cells = <3>;
280                 status = "disabled";              280                 status = "disabled";
281         };                                        281         };
282                                                   282 
283         pwm1: pwm@ff430010 {                      283         pwm1: pwm@ff430010 {
284                 compatible = "rockchip,rv1126-    284                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
285                 reg = <0xff430010 0x10>;          285                 reg = <0xff430010 0x10>;
286                 clock-names = "pwm", "pclk";      286                 clock-names = "pwm", "pclk";
287                 clocks = <&pmucru CLK_PWM0>, <    287                 clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>;
288                 pinctrl-names = "default";        288                 pinctrl-names = "default";
289                 pinctrl-0 = <&pwm1m0_pins>;       289                 pinctrl-0 = <&pwm1m0_pins>;
290                 #pwm-cells = <3>;                 290                 #pwm-cells = <3>;
291                 status = "disabled";              291                 status = "disabled";
292         };                                        292         };
293                                                   293 
294         pwm2: pwm@ff430020 {                      294         pwm2: pwm@ff430020 {
295                 compatible = "rockchip,rv1126-    295                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
296                 reg = <0xff430020 0x10>;          296                 reg = <0xff430020 0x10>;
297                 clock-names = "pwm", "pclk";      297                 clock-names = "pwm", "pclk";
298                 clocks = <&pmucru CLK_PWM0>, <    298                 clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>;
299                 pinctrl-names = "default";        299                 pinctrl-names = "default";
300                 pinctrl-0 = <&pwm2m0_pins>;       300                 pinctrl-0 = <&pwm2m0_pins>;
301                 #pwm-cells = <3>;                 301                 #pwm-cells = <3>;
302                 status = "disabled";              302                 status = "disabled";
303         };                                        303         };
304                                                   304 
305         pwm3: pwm@ff430030 {                      305         pwm3: pwm@ff430030 {
306                 compatible = "rockchip,rv1126-    306                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
307                 reg = <0xff430030 0x10>;          307                 reg = <0xff430030 0x10>;
308                 clock-names = "pwm", "pclk";      308                 clock-names = "pwm", "pclk";
309                 clocks = <&pmucru CLK_PWM0>, <    309                 clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>;
310                 pinctrl-names = "default";        310                 pinctrl-names = "default";
311                 pinctrl-0 = <&pwm3m0_pins>;       311                 pinctrl-0 = <&pwm3m0_pins>;
312                 #pwm-cells = <3>;                 312                 #pwm-cells = <3>;
313                 status = "disabled";              313                 status = "disabled";
314         };                                        314         };
315                                                   315 
316         pwm4: pwm@ff440000 {                      316         pwm4: pwm@ff440000 {
317                 compatible = "rockchip,rv1126-    317                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
318                 reg = <0xff440000 0x10>;          318                 reg = <0xff440000 0x10>;
319                 clock-names = "pwm", "pclk";      319                 clock-names = "pwm", "pclk";
320                 clocks = <&pmucru CLK_PWM1>, <    320                 clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>;
321                 pinctrl-names = "default";        321                 pinctrl-names = "default";
322                 pinctrl-0 = <&pwm4m0_pins>;       322                 pinctrl-0 = <&pwm4m0_pins>;
323                 #pwm-cells = <3>;                 323                 #pwm-cells = <3>;
324                 status = "disabled";              324                 status = "disabled";
325         };                                        325         };
326                                                   326 
327         pwm5: pwm@ff440010 {                      327         pwm5: pwm@ff440010 {
328                 compatible = "rockchip,rv1126-    328                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
329                 reg = <0xff440010 0x10>;          329                 reg = <0xff440010 0x10>;
330                 clock-names = "pwm", "pclk";      330                 clock-names = "pwm", "pclk";
331                 clocks = <&pmucru CLK_PWM1>, <    331                 clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>;
332                 pinctrl-names = "default";        332                 pinctrl-names = "default";
333                 pinctrl-0 = <&pwm5m0_pins>;       333                 pinctrl-0 = <&pwm5m0_pins>;
334                 #pwm-cells = <3>;                 334                 #pwm-cells = <3>;
335                 status = "disabled";              335                 status = "disabled";
336         };                                        336         };
337                                                   337 
338         pwm6: pwm@ff440020 {                      338         pwm6: pwm@ff440020 {
339                 compatible = "rockchip,rv1126-    339                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
340                 reg = <0xff440020 0x10>;          340                 reg = <0xff440020 0x10>;
341                 clock-names = "pwm", "pclk";      341                 clock-names = "pwm", "pclk";
342                 clocks = <&pmucru CLK_PWM1>, <    342                 clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>;
343                 pinctrl-names = "default";        343                 pinctrl-names = "default";
344                 pinctrl-0 = <&pwm6m0_pins>;       344                 pinctrl-0 = <&pwm6m0_pins>;
345                 #pwm-cells = <3>;                 345                 #pwm-cells = <3>;
346                 status = "disabled";              346                 status = "disabled";
347         };                                        347         };
348                                                   348 
349         pwm7: pwm@ff440030 {                      349         pwm7: pwm@ff440030 {
350                 compatible = "rockchip,rv1126-    350                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
351                 reg = <0xff440030 0x10>;          351                 reg = <0xff440030 0x10>;
352                 clock-names = "pwm", "pclk";      352                 clock-names = "pwm", "pclk";
353                 clocks = <&pmucru CLK_PWM1>, <    353                 clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>;
354                 pinctrl-names = "default";        354                 pinctrl-names = "default";
355                 pinctrl-0 = <&pwm7m0_pins>;       355                 pinctrl-0 = <&pwm7m0_pins>;
356                 #pwm-cells = <3>;                 356                 #pwm-cells = <3>;
357                 status = "disabled";              357                 status = "disabled";
358         };                                        358         };
359                                                   359 
360         pmucru: clock-controller@ff480000 {       360         pmucru: clock-controller@ff480000 {
361                 compatible = "rockchip,rv1126-    361                 compatible = "rockchip,rv1126-pmucru";
362                 reg = <0xff480000 0x1000>;        362                 reg = <0xff480000 0x1000>;
363                 rockchip,grf = <&grf>;            363                 rockchip,grf = <&grf>;
364                 #clock-cells = <1>;               364                 #clock-cells = <1>;
365                 #reset-cells = <1>;               365                 #reset-cells = <1>;
366         };                                        366         };
367                                                   367 
368         cru: clock-controller@ff490000 {          368         cru: clock-controller@ff490000 {
369                 compatible = "rockchip,rv1126-    369                 compatible = "rockchip,rv1126-cru";
370                 reg = <0xff490000 0x1000>;        370                 reg = <0xff490000 0x1000>;
371                 clocks = <&xin24m>;               371                 clocks = <&xin24m>;
372                 clock-names = "xin24m";           372                 clock-names = "xin24m";
373                 rockchip,grf = <&grf>;            373                 rockchip,grf = <&grf>;
374                 #clock-cells = <1>;               374                 #clock-cells = <1>;
375                 #reset-cells = <1>;               375                 #reset-cells = <1>;
376         };                                        376         };
377                                                   377 
378         dmac: dma-controller@ff4e0000 {           378         dmac: dma-controller@ff4e0000 {
379                 compatible = "arm,pl330", "arm    379                 compatible = "arm,pl330", "arm,primecell";
380                 reg = <0xff4e0000 0x4000>;        380                 reg = <0xff4e0000 0x4000>;
381                 interrupts = <GIC_SPI 1 IRQ_TY    381                 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
382                              <GIC_SPI 2 IRQ_TY    382                              <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
383                 #dma-cells = <1>;                 383                 #dma-cells = <1>;
384                 arm,pl330-periph-burst;           384                 arm,pl330-periph-burst;
385                 clocks = <&cru ACLK_DMAC>;        385                 clocks = <&cru ACLK_DMAC>;
386                 clock-names = "apb_pclk";         386                 clock-names = "apb_pclk";
387         };                                        387         };
388                                                   388 
389         i2c3: i2c@ff520000 {                      389         i2c3: i2c@ff520000 {
390                 compatible = "rockchip,rv1126-    390                 compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
391                 reg = <0xff520000 0x1000>;        391                 reg = <0xff520000 0x1000>;
392                 interrupts = <GIC_SPI 7 IRQ_TY    392                 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
393                 clocks = <&cru CLK_I2C3>, <&cr    393                 clocks = <&cru CLK_I2C3>, <&cru PCLK_I2C3>;
394                 clock-names = "i2c", "pclk";      394                 clock-names = "i2c", "pclk";
395                 pinctrl-names = "default";        395                 pinctrl-names = "default";
396                 pinctrl-0 = <&i2c3m0_xfer>;       396                 pinctrl-0 = <&i2c3m0_xfer>;
397                 rockchip,grf = <&pmugrf>;         397                 rockchip,grf = <&pmugrf>;
398                 #address-cells = <1>;             398                 #address-cells = <1>;
399                 #size-cells = <0>;                399                 #size-cells = <0>;
400                 status = "disabled";              400                 status = "disabled";
401         };                                        401         };
402                                                   402 
403         pwm8: pwm@ff550000 {                      403         pwm8: pwm@ff550000 {
404                 compatible = "rockchip,rv1126-    404                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
405                 reg = <0xff550000 0x10>;          405                 reg = <0xff550000 0x10>;
406                 clock-names = "pwm", "pclk";      406                 clock-names = "pwm", "pclk";
407                 clocks = <&cru CLK_PWM2>, <&cr    407                 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
408                 pinctrl-0 = <&pwm8m0_pins>;       408                 pinctrl-0 = <&pwm8m0_pins>;
409                 pinctrl-names = "default";        409                 pinctrl-names = "default";
410                 #pwm-cells = <3>;                 410                 #pwm-cells = <3>;
411                 status = "disabled";              411                 status = "disabled";
412         };                                        412         };
413                                                   413 
414         pwm9: pwm@ff550010 {                      414         pwm9: pwm@ff550010 {
415                 compatible = "rockchip,rv1126-    415                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
416                 reg = <0xff550010 0x10>;          416                 reg = <0xff550010 0x10>;
417                 clock-names = "pwm", "pclk";      417                 clock-names = "pwm", "pclk";
418                 clocks = <&cru CLK_PWM2>, <&cr    418                 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
419                 pinctrl-0 = <&pwm9m0_pins>;       419                 pinctrl-0 = <&pwm9m0_pins>;
420                 pinctrl-names = "default";        420                 pinctrl-names = "default";
421                 #pwm-cells = <3>;                 421                 #pwm-cells = <3>;
422                 status = "disabled";              422                 status = "disabled";
423         };                                        423         };
424                                                   424 
425         pwm10: pwm@ff550020 {                     425         pwm10: pwm@ff550020 {
426                 compatible = "rockchip,rv1126-    426                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
427                 reg = <0xff550020 0x10>;          427                 reg = <0xff550020 0x10>;
428                 clock-names = "pwm", "pclk";      428                 clock-names = "pwm", "pclk";
429                 clocks = <&cru CLK_PWM2>, <&cr    429                 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
430                 pinctrl-0 = <&pwm10m0_pins>;      430                 pinctrl-0 = <&pwm10m0_pins>;
431                 pinctrl-names = "default";        431                 pinctrl-names = "default";
432                 #pwm-cells = <3>;                 432                 #pwm-cells = <3>;
433                 status = "disabled";              433                 status = "disabled";
434         };                                        434         };
435                                                   435 
436         pwm11: pwm@ff550030 {                     436         pwm11: pwm@ff550030 {
437                 compatible = "rockchip,rv1126-    437                 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
438                 reg = <0xff550030 0x10>;          438                 reg = <0xff550030 0x10>;
439                 clock-names = "pwm", "pclk";      439                 clock-names = "pwm", "pclk";
440                 clocks = <&cru CLK_PWM2>, <&cr    440                 clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>;
441                 pinctrl-0 = <&pwm11m0_pins>;      441                 pinctrl-0 = <&pwm11m0_pins>;
442                 pinctrl-names = "default";        442                 pinctrl-names = "default";
443                 #pwm-cells = <3>;                 443                 #pwm-cells = <3>;
444                 status = "disabled";              444                 status = "disabled";
445         };                                        445         };
446                                                   446 
447         uart0: serial@ff560000 {                  447         uart0: serial@ff560000 {
448                 compatible = "rockchip,rv1126-    448                 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
449                 reg = <0xff560000 0x100>;         449                 reg = <0xff560000 0x100>;
450                 interrupts = <GIC_SPI 12 IRQ_T    450                 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
451                 clock-frequency = <24000000>;     451                 clock-frequency = <24000000>;
452                 clocks = <&cru SCLK_UART0>, <&    452                 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
453                 clock-names = "baudclk", "apb_    453                 clock-names = "baudclk", "apb_pclk";
454                 dmas = <&dmac 5>, <&dmac 4>;      454                 dmas = <&dmac 5>, <&dmac 4>;
455                 dma-names = "tx", "rx";           455                 dma-names = "tx", "rx";
456                 pinctrl-names = "default";        456                 pinctrl-names = "default";
457                 pinctrl-0 = <&uart0_xfer>;        457                 pinctrl-0 = <&uart0_xfer>;
458                 reg-shift = <2>;                  458                 reg-shift = <2>;
459                 reg-io-width = <4>;               459                 reg-io-width = <4>;
460                 status = "disabled";              460                 status = "disabled";
461         };                                        461         };
462                                                   462 
463         uart2: serial@ff570000 {                  463         uart2: serial@ff570000 {
464                 compatible = "rockchip,rv1126-    464                 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
465                 reg = <0xff570000 0x100>;         465                 reg = <0xff570000 0x100>;
466                 interrupts = <GIC_SPI 14 IRQ_T    466                 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
467                 clock-frequency = <24000000>;     467                 clock-frequency = <24000000>;
468                 clocks = <&cru SCLK_UART2>, <&    468                 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
469                 clock-names = "baudclk", "apb_    469                 clock-names = "baudclk", "apb_pclk";
470                 dmas = <&dmac 9>, <&dmac 8>;      470                 dmas = <&dmac 9>, <&dmac 8>;
471                 dma-names = "tx", "rx";           471                 dma-names = "tx", "rx";
472                 pinctrl-names = "default";        472                 pinctrl-names = "default";
473                 pinctrl-0 = <&uart2m1_xfer>;      473                 pinctrl-0 = <&uart2m1_xfer>;
474                 reg-shift = <2>;                  474                 reg-shift = <2>;
475                 reg-io-width = <4>;               475                 reg-io-width = <4>;
476                 status = "disabled";              476                 status = "disabled";
477         };                                        477         };
478                                                   478 
479         uart3: serial@ff580000 {                  479         uart3: serial@ff580000 {
480                 compatible = "rockchip,rv1126-    480                 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
481                 reg = <0xff580000 0x100>;         481                 reg = <0xff580000 0x100>;
482                 interrupts = <GIC_SPI 15 IRQ_T    482                 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
483                 clock-frequency = <24000000>;     483                 clock-frequency = <24000000>;
484                 clocks = <&cru SCLK_UART3>, <&    484                 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
485                 clock-names = "baudclk", "apb_    485                 clock-names = "baudclk", "apb_pclk";
486                 dmas = <&dmac 11>, <&dmac 10>;    486                 dmas = <&dmac 11>, <&dmac 10>;
487                 dma-names = "tx", "rx";           487                 dma-names = "tx", "rx";
488                 pinctrl-names = "default";        488                 pinctrl-names = "default";
489                 pinctrl-0 = <&uart3m0_xfer>;      489                 pinctrl-0 = <&uart3m0_xfer>;
490                 reg-shift = <2>;                  490                 reg-shift = <2>;
491                 reg-io-width = <4>;               491                 reg-io-width = <4>;
492                 status = "disabled";              492                 status = "disabled";
493         };                                        493         };
494                                                   494 
495         uart4: serial@ff590000 {                  495         uart4: serial@ff590000 {
496                 compatible = "rockchip,rv1126-    496                 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
497                 reg = <0xff590000 0x100>;         497                 reg = <0xff590000 0x100>;
498                 interrupts = <GIC_SPI 16 IRQ_T    498                 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
499                 clock-frequency = <24000000>;     499                 clock-frequency = <24000000>;
500                 clocks = <&cru SCLK_UART4>, <&    500                 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
501                 clock-names = "baudclk", "apb_    501                 clock-names = "baudclk", "apb_pclk";
502                 dmas = <&dmac 13>, <&dmac 12>;    502                 dmas = <&dmac 13>, <&dmac 12>;
503                 dma-names = "tx", "rx";           503                 dma-names = "tx", "rx";
504                 pinctrl-names = "default";        504                 pinctrl-names = "default";
505                 pinctrl-0 = <&uart4m0_xfer>;      505                 pinctrl-0 = <&uart4m0_xfer>;
506                 reg-shift = <2>;                  506                 reg-shift = <2>;
507                 reg-io-width = <4>;               507                 reg-io-width = <4>;
508                 status = "disabled";              508                 status = "disabled";
509         };                                        509         };
510                                                   510 
511         uart5: serial@ff5a0000 {                  511         uart5: serial@ff5a0000 {
512                 compatible = "rockchip,rv1126-    512                 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
513                 reg = <0xff5a0000 0x100>;         513                 reg = <0xff5a0000 0x100>;
514                 interrupts = <GIC_SPI 17 IRQ_T    514                 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
515                 clock-frequency = <24000000>;     515                 clock-frequency = <24000000>;
516                 clocks = <&cru SCLK_UART5>, <&    516                 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
517                 clock-names = "baudclk", "apb_    517                 clock-names = "baudclk", "apb_pclk";
518                 dmas = <&dmac 15>, <&dmac 14>;    518                 dmas = <&dmac 15>, <&dmac 14>;
519                 dma-names = "tx", "rx";           519                 dma-names = "tx", "rx";
520                 pinctrl-names = "default";        520                 pinctrl-names = "default";
521                 pinctrl-0 = <&uart5m0_xfer>;      521                 pinctrl-0 = <&uart5m0_xfer>;
522                 reg-shift = <2>;                  522                 reg-shift = <2>;
523                 reg-io-width = <4>;               523                 reg-io-width = <4>;
524                 status = "disabled";              524                 status = "disabled";
525         };                                        525         };
526                                                   526 
527         saradc: adc@ff5e0000 {                    527         saradc: adc@ff5e0000 {
528                 compatible = "rockchip,rv1126-    528                 compatible = "rockchip,rv1126-saradc", "rockchip,rk3399-saradc";
529                 reg = <0xff5e0000 0x100>;         529                 reg = <0xff5e0000 0x100>;
530                 interrupts = <GIC_SPI 40 IRQ_T    530                 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
531                 #io-channel-cells = <1>;          531                 #io-channel-cells = <1>;
532                 clocks = <&cru CLK_SARADC>, <&    532                 clocks = <&cru CLK_SARADC>, <&cru PCLK_SARADC>;
533                 clock-names = "saradc", "apb_p    533                 clock-names = "saradc", "apb_pclk";
534                 resets = <&cru SRST_SARADC_P>;    534                 resets = <&cru SRST_SARADC_P>;
535                 reset-names = "saradc-apb";       535                 reset-names = "saradc-apb";
536                 status = "disabled";              536                 status = "disabled";
537         };                                        537         };
538                                                   538 
539         timer0: timer@ff660000 {                  539         timer0: timer@ff660000 {
540                 compatible = "rockchip,rv1126-    540                 compatible = "rockchip,rv1126-timer", "rockchip,rk3288-timer";
541                 reg = <0xff660000 0x20>;          541                 reg = <0xff660000 0x20>;
542                 interrupts = <GIC_SPI 24 IRQ_T    542                 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
543                 clocks = <&cru PCLK_TIMER>, <&    543                 clocks = <&cru PCLK_TIMER>, <&cru CLK_TIMER0>;
544                 clock-names = "pclk", "timer";    544                 clock-names = "pclk", "timer";
545         };                                        545         };
546                                                   546 
547         i2s0: i2s@ff800000 {                      547         i2s0: i2s@ff800000 {
548                 compatible = "rockchip,rv1126-    548                 compatible = "rockchip,rv1126-i2s-tdm";
549                 reg = <0xff800000 0x1000>;        549                 reg = <0xff800000 0x1000>;
550                 interrupts = <GIC_SPI 46 IRQ_T    550                 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
551                 clocks = <&cru MCLK_I2S0_TX>,     551                 clocks = <&cru MCLK_I2S0_TX>, <&cru MCLK_I2S0_RX>, <&cru HCLK_I2S0>;
552                 clock-names = "mclk_tx", "mclk    552                 clock-names = "mclk_tx", "mclk_rx", "hclk";
553                 dmas = <&dmac 20>, <&dmac 19>;    553                 dmas = <&dmac 20>, <&dmac 19>;
554                 dma-names = "tx", "rx";           554                 dma-names = "tx", "rx";
555                 pinctrl-names = "default";        555                 pinctrl-names = "default";
556                 pinctrl-0 = <&i2s0m0_sclk_tx>,    556                 pinctrl-0 = <&i2s0m0_sclk_tx>,
557                              <&i2s0m0_sclk_rx>    557                              <&i2s0m0_sclk_rx>,
558                              <&i2s0m0_mclk>,      558                              <&i2s0m0_mclk>,
559                              <&i2s0m0_lrck_tx>    559                              <&i2s0m0_lrck_tx>,
560                              <&i2s0m0_lrck_rx>    560                              <&i2s0m0_lrck_rx>,
561                              <&i2s0m0_sdi0>,      561                              <&i2s0m0_sdi0>,
562                              <&i2s0m0_sdo0>,      562                              <&i2s0m0_sdo0>,
563                              <&i2s0m0_sdo1_sdi    563                              <&i2s0m0_sdo1_sdi3>,
564                              <&i2s0m0_sdo2_sdi    564                              <&i2s0m0_sdo2_sdi2>,
565                              <&i2s0m0_sdo3_sdi    565                              <&i2s0m0_sdo3_sdi1>;
566                 resets = <&cru SRST_I2S0_TX_M>    566                 resets = <&cru SRST_I2S0_TX_M>, <&cru SRST_I2S0_RX_M>;
567                 reset-names = "tx-m", "rx-m";     567                 reset-names = "tx-m", "rx-m";
568                 rockchip,grf = <&grf>;            568                 rockchip,grf = <&grf>;
569                 #sound-dai-cells = <0>;           569                 #sound-dai-cells = <0>;
570                 status = "disabled";              570                 status = "disabled";
571         };                                        571         };
572                                                   572 
573         vop: vop@ffb00000 {                       573         vop: vop@ffb00000 {
574                 compatible = "rockchip,rv1126-    574                 compatible = "rockchip,rv1126-vop";
575                 reg = <0xffb00000 0x200>, <0xf    575                 reg = <0xffb00000 0x200>, <0xffb00a00 0x400>;
576                 interrupts = <GIC_SPI 59 IRQ_T    576                 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
577                 clock-names = "aclk_vop", "dcl    577                 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
578                 clocks = <&cru ACLK_VOP>, <&cr    578                 clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>;
579                 reset-names = "axi", "ahb", "d    579                 reset-names = "axi", "ahb", "dclk";
580                 resets = <&cru SRST_VOP_A>, <&    580                 resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
581                 iommus = <&vop_mmu>;              581                 iommus = <&vop_mmu>;
582                 power-domains = <&power RV1126    582                 power-domains = <&power RV1126_PD_VO>;
583                 status = "disabled";              583                 status = "disabled";
584                                                   584 
585                 vop_out: port {                   585                 vop_out: port {
586                         #address-cells = <1>;     586                         #address-cells = <1>;
587                         #size-cells = <0>;        587                         #size-cells = <0>;
588                                                   588 
589                         vop_out_rgb: endpoint@    589                         vop_out_rgb: endpoint@0 {
590                                 reg = <0>;        590                                 reg = <0>;
591                         };                        591                         };
592                                                   592 
593                         vop_out_dsi: endpoint@    593                         vop_out_dsi: endpoint@1 {
594                                 reg = <1>;        594                                 reg = <1>;
595                         };                        595                         };
596                 };                                596                 };
597         };                                        597         };
598                                                   598 
599         vop_mmu: iommu@ffb00f00 {                 599         vop_mmu: iommu@ffb00f00 {
600                 compatible = "rockchip,iommu";    600                 compatible = "rockchip,iommu";
601                 reg = <0xffb00f00 0x100>;         601                 reg = <0xffb00f00 0x100>;
602                 interrupts = <GIC_SPI 59 IRQ_T    602                 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
603                 clock-names = "aclk", "iface";    603                 clock-names = "aclk", "iface";
604                 clocks = <&cru ACLK_VOP>, <&cr    604                 clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
605                 #iommu-cells = <0>;               605                 #iommu-cells = <0>;
606                 power-domains = <&power RV1126    606                 power-domains = <&power RV1126_PD_VO>;
607                 status = "disabled";              607                 status = "disabled";
608         };                                        608         };
609                                                   609 
610         gmac: ethernet@ffc40000 {                 610         gmac: ethernet@ffc40000 {
611                 compatible = "rockchip,rv1126-    611                 compatible = "rockchip,rv1126-gmac", "snps,dwmac-4.20a";
612                 reg = <0xffc40000 0x4000>;        612                 reg = <0xffc40000 0x4000>;
613                 interrupts = <GIC_SPI 95 IRQ_T    613                 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
614                              <GIC_SPI 96 IRQ_T    614                              <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
615                 interrupt-names = "macirq", "e    615                 interrupt-names = "macirq", "eth_wake_irq";
616                 rockchip,grf = <&grf>;            616                 rockchip,grf = <&grf>;
617                 clocks = <&cru CLK_GMAC_SRC>,     617                 clocks = <&cru CLK_GMAC_SRC>, <&cru CLK_GMAC_TX_RX>,
618                          <&cru CLK_GMAC_TX_RX>    618                          <&cru CLK_GMAC_TX_RX>, <&cru CLK_GMAC_REF>,
619                          <&cru ACLK_GMAC>, <&c    619                          <&cru ACLK_GMAC>, <&cru PCLK_GMAC>,
620                          <&cru CLK_GMAC_TX_RX>    620                          <&cru CLK_GMAC_TX_RX>, <&cru CLK_GMAC_PTPREF>;
621                 clock-names = "stmmaceth", "ma    621                 clock-names = "stmmaceth", "mac_clk_rx",
622                               "mac_clk_tx", "c    622                               "mac_clk_tx", "clk_mac_ref",
623                               "aclk_mac", "pcl    623                               "aclk_mac", "pclk_mac",
624                               "clk_mac_speed",    624                               "clk_mac_speed", "ptp_ref";
625                 resets = <&cru SRST_GMAC_A>;      625                 resets = <&cru SRST_GMAC_A>;
626                 reset-names = "stmmaceth";        626                 reset-names = "stmmaceth";
627                                                   627 
628                 snps,mixed-burst;                 628                 snps,mixed-burst;
629                 snps,tso;                         629                 snps,tso;
630                                                   630 
631                 snps,axi-config = <&stmmac_axi    631                 snps,axi-config = <&stmmac_axi_setup>;
632                 snps,mtl-rx-config = <&mtl_rx_    632                 snps,mtl-rx-config = <&mtl_rx_setup>;
633                 snps,mtl-tx-config = <&mtl_tx_    633                 snps,mtl-tx-config = <&mtl_tx_setup>;
634                 status = "disabled";              634                 status = "disabled";
635                                                   635 
636                 mdio: mdio {                      636                 mdio: mdio {
637                         compatible = "snps,dwm    637                         compatible = "snps,dwmac-mdio";
638                         #address-cells = <0x1>    638                         #address-cells = <0x1>;
639                         #size-cells = <0x0>;      639                         #size-cells = <0x0>;
640                 };                                640                 };
641                                                   641 
642                 stmmac_axi_setup: stmmac-axi-c    642                 stmmac_axi_setup: stmmac-axi-config {
643                         snps,wr_osr_lmt = <4>;    643                         snps,wr_osr_lmt = <4>;
644                         snps,rd_osr_lmt = <8>;    644                         snps,rd_osr_lmt = <8>;
645                         snps,blen = <0 0 0 0 1    645                         snps,blen = <0 0 0 0 16 8 4>;
646                 };                                646                 };
647                                                   647 
648                 mtl_rx_setup: rx-queues-config    648                 mtl_rx_setup: rx-queues-config {
649                         snps,rx-queues-to-use     649                         snps,rx-queues-to-use = <1>;
650                         queue0 {};                650                         queue0 {};
651                 };                                651                 };
652                                                   652 
653                 mtl_tx_setup: tx-queues-config    653                 mtl_tx_setup: tx-queues-config {
654                         snps,tx-queues-to-use     654                         snps,tx-queues-to-use = <1>;
655                         queue0 {};                655                         queue0 {};
656                 };                                656                 };
657         };                                        657         };
658                                                   658 
659         emmc: mmc@ffc50000 {                      659         emmc: mmc@ffc50000 {
660                 compatible = "rockchip,rv1126-    660                 compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc";
661                 reg = <0xffc50000 0x4000>;        661                 reg = <0xffc50000 0x4000>;
662                 interrupts = <GIC_SPI 78 IRQ_T    662                 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
663                 clocks = <&cru HCLK_EMMC>, <&c    663                 clocks = <&cru HCLK_EMMC>, <&cru CLK_EMMC>,
664                          <&cru SCLK_EMMC_DRV>,    664                          <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
665                 clock-names = "biu", "ciu", "c    665                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
666                 fifo-depth = <0x100>;             666                 fifo-depth = <0x100>;
667                 max-frequency = <200000000>;      667                 max-frequency = <200000000>;
668                 power-domains = <&power RV1126    668                 power-domains = <&power RV1126_PD_NVM>;
669                 status = "disabled";              669                 status = "disabled";
670         };                                        670         };
671                                                   671 
672         sdmmc: mmc@ffc60000 {                     672         sdmmc: mmc@ffc60000 {
673                 compatible = "rockchip,rv1126-    673                 compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc";
674                 reg = <0xffc60000 0x4000>;        674                 reg = <0xffc60000 0x4000>;
675                 interrupts = <GIC_SPI 76 IRQ_T    675                 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
676                 clocks = <&cru HCLK_SDMMC>, <&    676                 clocks = <&cru HCLK_SDMMC>, <&cru CLK_SDMMC>,
677                          <&cru SCLK_SDMMC_DRV>    677                          <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
678                 clock-names = "biu", "ciu", "c    678                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
679                 fifo-depth = <0x100>;             679                 fifo-depth = <0x100>;
680                 max-frequency = <200000000>;      680                 max-frequency = <200000000>;
681                 status = "disabled";              681                 status = "disabled";
682         };                                        682         };
683                                                   683 
684         sdio: mmc@ffc70000 {                      684         sdio: mmc@ffc70000 {
685                 compatible = "rockchip,rv1126-    685                 compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc";
686                 reg = <0xffc70000 0x4000>;        686                 reg = <0xffc70000 0x4000>;
687                 interrupts = <GIC_SPI 77 IRQ_T    687                 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
688                 clocks = <&cru HCLK_SDIO>, <&c    688                 clocks = <&cru HCLK_SDIO>, <&cru CLK_SDIO>,
689                          <&cru SCLK_SDIO_DRV>,    689                          <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
690                 clock-names = "biu", "ciu", "c    690                 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
691                 fifo-depth = <0x100>;             691                 fifo-depth = <0x100>;
692                 max-frequency = <200000000>;      692                 max-frequency = <200000000>;
693                 power-domains = <&power RV1126    693                 power-domains = <&power RV1126_PD_SDIO>;
694                 status = "disabled";              694                 status = "disabled";
695         };                                        695         };
696                                                   696 
697         sfc: spi@ffc90000  {                      697         sfc: spi@ffc90000  {
698                 compatible = "rockchip,sfc";      698                 compatible = "rockchip,sfc";
699                 reg = <0xffc90000 0x4000>;        699                 reg = <0xffc90000 0x4000>;
700                 interrupts = <GIC_SPI 80 IRQ_T    700                 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
701                 assigned-clocks = <&cru SCLK_S    701                 assigned-clocks = <&cru SCLK_SFC>;
702                 assigned-clock-rates = <800000    702                 assigned-clock-rates = <80000000>;
703                 clock-names = "clk_sfc", "hclk    703                 clock-names = "clk_sfc", "hclk_sfc";
704                 clocks = <&cru SCLK_SFC>, <&cr    704                 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
705                 power-domains = <&power RV1126    705                 power-domains = <&power RV1126_PD_NVM>;
706                 status = "disabled";              706                 status = "disabled";
707         };                                        707         };
708                                                   708 
709         pinctrl: pinctrl {                        709         pinctrl: pinctrl {
710                 compatible = "rockchip,rv1126-    710                 compatible = "rockchip,rv1126-pinctrl";
711                 rockchip,grf = <&grf>;            711                 rockchip,grf = <&grf>;
712                 rockchip,pmu = <&pmugrf>;         712                 rockchip,pmu = <&pmugrf>;
713                 #address-cells = <1>;             713                 #address-cells = <1>;
714                 #size-cells = <1>;                714                 #size-cells = <1>;
715                 ranges;                           715                 ranges;
716                                                   716 
717                 gpio0: gpio@ff460000 {            717                 gpio0: gpio@ff460000 {
718                         compatible = "rockchip    718                         compatible = "rockchip,gpio-bank";
719                         reg = <0xff460000 0x10    719                         reg = <0xff460000 0x100>;
720                         interrupts = <GIC_SPI     720                         interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
721                         clocks = <&pmucru PCLK    721                         clocks = <&pmucru PCLK_GPIO0>, <&pmucru DBCLK_GPIO0>;
722                         gpio-controller;          722                         gpio-controller;
723                         #gpio-cells = <2>;        723                         #gpio-cells = <2>;
724                         interrupt-controller;     724                         interrupt-controller;
725                         #interrupt-cells = <2>    725                         #interrupt-cells = <2>;
726                 };                                726                 };
727                                                   727 
728                 gpio1: gpio@ff620000 {            728                 gpio1: gpio@ff620000 {
729                         compatible = "rockchip    729                         compatible = "rockchip,gpio-bank";
730                         reg = <0xff620000 0x10    730                         reg = <0xff620000 0x100>;
731                         interrupts = <GIC_SPI     731                         interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
732                         clocks = <&cru PCLK_GP    732                         clocks = <&cru PCLK_GPIO1>, <&cru DBCLK_GPIO1>;
733                         gpio-controller;          733                         gpio-controller;
734                         #gpio-cells = <2>;        734                         #gpio-cells = <2>;
735                         interrupt-controller;     735                         interrupt-controller;
736                         #interrupt-cells = <2>    736                         #interrupt-cells = <2>;
737                 };                                737                 };
738                                                   738 
739                 gpio2: gpio@ff630000 {            739                 gpio2: gpio@ff630000 {
740                         compatible = "rockchip    740                         compatible = "rockchip,gpio-bank";
741                         reg = <0xff630000 0x10    741                         reg = <0xff630000 0x100>;
742                         interrupts = <GIC_SPI     742                         interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
743                         clocks = <&cru PCLK_GP    743                         clocks = <&cru PCLK_GPIO2>, <&cru DBCLK_GPIO2>;
744                         gpio-controller;          744                         gpio-controller;
745                         #gpio-cells = <2>;        745                         #gpio-cells = <2>;
746                         interrupt-controller;     746                         interrupt-controller;
747                         #interrupt-cells = <2>    747                         #interrupt-cells = <2>;
748                 };                                748                 };
749                                                   749 
750                 gpio3: gpio@ff640000 {            750                 gpio3: gpio@ff640000 {
751                         compatible = "rockchip    751                         compatible = "rockchip,gpio-bank";
752                         reg = <0xff640000 0x10    752                         reg = <0xff640000 0x100>;
753                         interrupts = <GIC_SPI     753                         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
754                         clocks = <&cru PCLK_GP    754                         clocks = <&cru PCLK_GPIO3>, <&cru DBCLK_GPIO3>;
755                         gpio-controller;          755                         gpio-controller;
756                         #gpio-cells = <2>;        756                         #gpio-cells = <2>;
757                         interrupt-controller;     757                         interrupt-controller;
758                         #interrupt-cells = <2>    758                         #interrupt-cells = <2>;
759                 };                                759                 };
760                                                   760 
761                 gpio4: gpio@ff650000 {            761                 gpio4: gpio@ff650000 {
762                         compatible = "rockchip    762                         compatible = "rockchip,gpio-bank";
763                         reg = <0xff650000 0x10    763                         reg = <0xff650000 0x100>;
764                         interrupts = <GIC_SPI     764                         interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
765                         clocks = <&cru PCLK_GP    765                         clocks = <&cru PCLK_GPIO4>, <&cru DBCLK_GPIO4>;
766                         gpio-controller;          766                         gpio-controller;
767                         #gpio-cells = <2>;        767                         #gpio-cells = <2>;
768                         interrupt-controller;     768                         interrupt-controller;
769                         #interrupt-cells = <2>    769                         #interrupt-cells = <2>;
770                 };                                770                 };
771         };                                        771         };
772 };                                                772 };
773                                                   773 
774 #include "rv1126-pinctrl.dtsi"                    774 #include "rv1126-pinctrl.dtsi"
                                                      

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