1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring#include <dt-bindings/clock/rockchip,rv1126-cru.h> 7724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 8724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 9724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 10724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h> 11724ba675SRob Herring#include <dt-bindings/power/rockchip,rv1126-power.h> 12724ba675SRob Herring#include <dt-bindings/soc/rockchip,boot-mode.h> 13724ba675SRob Herring 14724ba675SRob Herring/ { 15724ba675SRob Herring #address-cells = <1>; 16724ba675SRob Herring #size-cells = <1>; 17724ba675SRob Herring 18724ba675SRob Herring compatible = "rockchip,rv1126"; 19724ba675SRob Herring 20724ba675SRob Herring interrupt-parent = <&gic>; 21724ba675SRob Herring 22724ba675SRob Herring aliases { 23724ba675SRob Herring i2c0 = &i2c0; 24b1ed2566STim Lunn i2c2 = &i2c2; 2515db79e0SKarthikeyan Krishnasamy i2c3 = &i2c3; 269f35b08aSTim Lunn serial0 = &uart0; 279f35b08aSTim Lunn serial1 = &uart1; 289f35b08aSTim Lunn serial2 = &uart2; 299f35b08aSTim Lunn serial3 = &uart3; 309f35b08aSTim Lunn serial4 = &uart4; 319f35b08aSTim Lunn serial5 = &uart5; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring cpus { 35724ba675SRob Herring #address-cells = <1>; 36724ba675SRob Herring #size-cells = <0>; 37724ba675SRob Herring 38724ba675SRob Herring cpu0: cpu@f00 { 39724ba675SRob Herring device_type = "cpu"; 40724ba675SRob Herring compatible = "arm,cortex-a7"; 41724ba675SRob Herring reg = <0xf00>; 42724ba675SRob Herring enable-method = "psci"; 43724ba675SRob Herring clocks = <&cru ARMCLK>; 44724ba675SRob Herring }; 45724ba675SRob Herring 46724ba675SRob Herring cpu1: cpu@f01 { 47724ba675SRob Herring device_type = "cpu"; 48724ba675SRob Herring compatible = "arm,cortex-a7"; 49724ba675SRob Herring reg = <0xf01>; 50724ba675SRob Herring enable-method = "psci"; 51724ba675SRob Herring clocks = <&cru ARMCLK>; 52724ba675SRob Herring }; 53724ba675SRob Herring 54724ba675SRob Herring cpu2: cpu@f02 { 55724ba675SRob Herring device_type = "cpu"; 56724ba675SRob Herring compatible = "arm,cortex-a7"; 57724ba675SRob Herring reg = <0xf02>; 58724ba675SRob Herring enable-method = "psci"; 59724ba675SRob Herring clocks = <&cru ARMCLK>; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring cpu3: cpu@f03 { 63724ba675SRob Herring device_type = "cpu"; 64724ba675SRob Herring compatible = "arm,cortex-a7"; 65724ba675SRob Herring reg = <0xf03>; 66724ba675SRob Herring enable-method = "psci"; 67724ba675SRob Herring clocks = <&cru ARMCLK>; 68724ba675SRob Herring }; 69724ba675SRob Herring }; 70724ba675SRob Herring 71724ba675SRob Herring arm-pmu { 72724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 73724ba675SRob Herring interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 74724ba675SRob Herring <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 75724ba675SRob Herring <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 76724ba675SRob Herring <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; 77724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 78724ba675SRob Herring }; 79724ba675SRob Herring 80724ba675SRob Herring psci { 81724ba675SRob Herring compatible = "arm,psci-1.0"; 82724ba675SRob Herring method = "smc"; 83724ba675SRob Herring }; 84724ba675SRob Herring 85724ba675SRob Herring timer { 86724ba675SRob Herring compatible = "arm,armv7-timer"; 87724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 88724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 89724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 90724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 91724ba675SRob Herring clock-frequency = <24000000>; 92724ba675SRob Herring }; 93724ba675SRob Herring 941bf0dcb1SJagan Teki display_subsystem { 951bf0dcb1SJagan Teki compatible = "rockchip,display-subsystem"; 961bf0dcb1SJagan Teki ports = <&vop_out>; 971bf0dcb1SJagan Teki }; 981bf0dcb1SJagan Teki 99724ba675SRob Herring xin24m: oscillator { 100724ba675SRob Herring compatible = "fixed-clock"; 101724ba675SRob Herring clock-frequency = <24000000>; 102724ba675SRob Herring clock-output-names = "xin24m"; 103724ba675SRob Herring #clock-cells = <0>; 104724ba675SRob Herring }; 105724ba675SRob Herring 106724ba675SRob Herring grf: syscon@fe000000 { 107724ba675SRob Herring compatible = "rockchip,rv1126-grf", "syscon", "simple-mfd"; 108724ba675SRob Herring reg = <0xfe000000 0x20000>; 109724ba675SRob Herring }; 110724ba675SRob Herring 111724ba675SRob Herring pmugrf: syscon@fe020000 { 112724ba675SRob Herring compatible = "rockchip,rv1126-pmugrf", "syscon", "simple-mfd"; 113724ba675SRob Herring reg = <0xfe020000 0x1000>; 114724ba675SRob Herring 115724ba675SRob Herring pmu_io_domains: io-domains { 116724ba675SRob Herring compatible = "rockchip,rv1126-pmu-io-voltage-domain"; 117724ba675SRob Herring status = "disabled"; 118724ba675SRob Herring }; 119724ba675SRob Herring }; 120724ba675SRob Herring 121724ba675SRob Herring qos_emmc: qos@fe860000 { 122724ba675SRob Herring compatible = "rockchip,rv1126-qos", "syscon"; 123724ba675SRob Herring reg = <0xfe860000 0x20>; 124724ba675SRob Herring }; 125724ba675SRob Herring 126724ba675SRob Herring qos_nandc: qos@fe860080 { 127724ba675SRob Herring compatible = "rockchip,rv1126-qos", "syscon"; 128724ba675SRob Herring reg = <0xfe860080 0x20>; 129724ba675SRob Herring }; 130724ba675SRob Herring 131724ba675SRob Herring qos_sfc: qos@fe860200 { 132724ba675SRob Herring compatible = "rockchip,rv1126-qos", "syscon"; 133724ba675SRob Herring reg = <0xfe860200 0x20>; 134724ba675SRob Herring }; 135724ba675SRob Herring 136724ba675SRob Herring qos_sdio: qos@fe86c000 { 137724ba675SRob Herring compatible = "rockchip,rv1126-qos", "syscon"; 138724ba675SRob Herring reg = <0xfe86c000 0x20>; 139724ba675SRob Herring }; 140724ba675SRob Herring 1414fafaed5SJagan Teki qos_iep: qos@fe8a0000 { 1424fafaed5SJagan Teki compatible = "rockchip,rv1126-qos", "syscon"; 1434fafaed5SJagan Teki reg = <0xfe8a0000 0x20>; 1444fafaed5SJagan Teki }; 1454fafaed5SJagan Teki 1464fafaed5SJagan Teki qos_rga_rd: qos@fe8a0080 { 1474fafaed5SJagan Teki compatible = "rockchip,rv1126-qos", "syscon"; 1484fafaed5SJagan Teki reg = <0xfe8a0080 0x20>; 1494fafaed5SJagan Teki }; 1504fafaed5SJagan Teki 1514fafaed5SJagan Teki qos_rga_wr: qos@fe8a0100 { 1524fafaed5SJagan Teki compatible = "rockchip,rv1126-qos", "syscon"; 1534fafaed5SJagan Teki reg = <0xfe8a0100 0x20>; 1544fafaed5SJagan Teki }; 1554fafaed5SJagan Teki 1564fafaed5SJagan Teki qos_vop: qos@fe8a0180 { 1574fafaed5SJagan Teki compatible = "rockchip,rv1126-qos", "syscon"; 1584fafaed5SJagan Teki reg = <0xfe8a0180 0x20>; 1594fafaed5SJagan Teki }; 1604fafaed5SJagan Teki 161724ba675SRob Herring gic: interrupt-controller@feff0000 { 162724ba675SRob Herring compatible = "arm,gic-400"; 163724ba675SRob Herring interrupt-controller; 164724ba675SRob Herring #interrupt-cells = <3>; 165724ba675SRob Herring #address-cells = <0>; 166724ba675SRob Herring 167724ba675SRob Herring reg = <0xfeff1000 0x1000>, 168724ba675SRob Herring <0xfeff2000 0x2000>, 169724ba675SRob Herring <0xfeff4000 0x2000>, 170724ba675SRob Herring <0xfeff6000 0x2000>; 171724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 172724ba675SRob Herring }; 173724ba675SRob Herring 174724ba675SRob Herring pmu: power-management@ff3e0000 { 175724ba675SRob Herring compatible = "rockchip,rv1126-pmu", "syscon", "simple-mfd"; 176724ba675SRob Herring reg = <0xff3e0000 0x1000>; 177724ba675SRob Herring 178724ba675SRob Herring power: power-controller { 179724ba675SRob Herring compatible = "rockchip,rv1126-power-controller"; 180724ba675SRob Herring #power-domain-cells = <1>; 181724ba675SRob Herring #address-cells = <1>; 182724ba675SRob Herring #size-cells = <0>; 183724ba675SRob Herring 184724ba675SRob Herring power-domain@RV1126_PD_NVM { 185724ba675SRob Herring reg = <RV1126_PD_NVM>; 186724ba675SRob Herring clocks = <&cru HCLK_EMMC>, 187724ba675SRob Herring <&cru CLK_EMMC>, 188724ba675SRob Herring <&cru HCLK_NANDC>, 189724ba675SRob Herring <&cru CLK_NANDC>, 190724ba675SRob Herring <&cru HCLK_SFC>, 191724ba675SRob Herring <&cru HCLK_SFCXIP>, 192724ba675SRob Herring <&cru SCLK_SFC>; 193724ba675SRob Herring pm_qos = <&qos_emmc>, 194724ba675SRob Herring <&qos_nandc>, 195724ba675SRob Herring <&qos_sfc>; 196724ba675SRob Herring #power-domain-cells = <0>; 197724ba675SRob Herring }; 198724ba675SRob Herring 199724ba675SRob Herring power-domain@RV1126_PD_SDIO { 200724ba675SRob Herring reg = <RV1126_PD_SDIO>; 201724ba675SRob Herring clocks = <&cru HCLK_SDIO>, 202724ba675SRob Herring <&cru CLK_SDIO>; 203724ba675SRob Herring pm_qos = <&qos_sdio>; 204724ba675SRob Herring #power-domain-cells = <0>; 205724ba675SRob Herring }; 2064fafaed5SJagan Teki 2074fafaed5SJagan Teki power-domain@RV1126_PD_VO { 2084fafaed5SJagan Teki reg = <RV1126_PD_VO>; 2094fafaed5SJagan Teki clocks = <&cru ACLK_RGA>, 2104fafaed5SJagan Teki <&cru HCLK_RGA>, 2114fafaed5SJagan Teki <&cru CLK_RGA_CORE>, 2124fafaed5SJagan Teki <&cru ACLK_VOP>, 2134fafaed5SJagan Teki <&cru HCLK_VOP>, 2144fafaed5SJagan Teki <&cru DCLK_VOP>, 2154fafaed5SJagan Teki <&cru PCLK_DSIHOST>, 2164fafaed5SJagan Teki <&cru ACLK_IEP>, 2174fafaed5SJagan Teki <&cru HCLK_IEP>, 2184fafaed5SJagan Teki <&cru CLK_IEP_CORE>; 2194fafaed5SJagan Teki pm_qos = <&qos_rga_rd>, 2204fafaed5SJagan Teki <&qos_rga_wr>, 2214fafaed5SJagan Teki <&qos_vop>, 2224fafaed5SJagan Teki <&qos_iep>; 2234fafaed5SJagan Teki #power-domain-cells = <0>; 2244fafaed5SJagan Teki }; 225724ba675SRob Herring }; 226724ba675SRob Herring }; 227724ba675SRob Herring 228724ba675SRob Herring i2c0: i2c@ff3f0000 { 229724ba675SRob Herring compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c"; 230724ba675SRob Herring reg = <0xff3f0000 0x1000>; 231724ba675SRob Herring interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 232724ba675SRob Herring rockchip,grf = <&pmugrf>; 233724ba675SRob Herring clocks = <&pmucru CLK_I2C0>, <&pmucru PCLK_I2C0>; 234724ba675SRob Herring clock-names = "i2c", "pclk"; 235724ba675SRob Herring pinctrl-names = "default"; 236724ba675SRob Herring pinctrl-0 = <&i2c0_xfer>; 237724ba675SRob Herring #address-cells = <1>; 238724ba675SRob Herring #size-cells = <0>; 239724ba675SRob Herring status = "disabled"; 240724ba675SRob Herring }; 241724ba675SRob Herring 242b1ed2566STim Lunn i2c2: i2c@ff400000 { 243b1ed2566STim Lunn compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c"; 244b1ed2566STim Lunn reg = <0xff400000 0x1000>; 245b1ed2566STim Lunn interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 246b1ed2566STim Lunn rockchip,grf = <&pmugrf>; 247b1ed2566STim Lunn clocks = <&pmucru CLK_I2C2>, <&pmucru PCLK_I2C2>; 248b1ed2566STim Lunn clock-names = "i2c", "pclk"; 249b1ed2566STim Lunn pinctrl-names = "default"; 250b1ed2566STim Lunn pinctrl-0 = <&i2c2_xfer>; 251b1ed2566STim Lunn #address-cells = <1>; 252b1ed2566STim Lunn #size-cells = <0>; 253b1ed2566STim Lunn status = "disabled"; 254b1ed2566STim Lunn }; 255b1ed2566STim Lunn 256724ba675SRob Herring uart1: serial@ff410000 { 257724ba675SRob Herring compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; 258724ba675SRob Herring reg = <0xff410000 0x100>; 259724ba675SRob Herring interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 260724ba675SRob Herring clock-frequency = <24000000>; 261724ba675SRob Herring clocks = <&pmucru SCLK_UART1>, <&pmucru PCLK_UART1>; 262724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 263724ba675SRob Herring dmas = <&dmac 7>, <&dmac 6>; 264724ba675SRob Herring dma-names = "tx", "rx"; 265724ba675SRob Herring pinctrl-names = "default"; 266724ba675SRob Herring pinctrl-0 = <&uart1m0_xfer>; 267724ba675SRob Herring reg-shift = <2>; 268724ba675SRob Herring reg-io-width = <4>; 269724ba675SRob Herring status = "disabled"; 270724ba675SRob Herring }; 271724ba675SRob Herring 272*898eb75fSKarthikeyan Krishnasamy pwm0: pwm@ff430000 { 273*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 274*898eb75fSKarthikeyan Krishnasamy reg = <0xff430000 0x10>; 275*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 276*898eb75fSKarthikeyan Krishnasamy clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; 277*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 278*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm0m0_pins>; 279*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 280*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 281*898eb75fSKarthikeyan Krishnasamy }; 282*898eb75fSKarthikeyan Krishnasamy 283*898eb75fSKarthikeyan Krishnasamy pwm1: pwm@ff430010 { 284*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 285*898eb75fSKarthikeyan Krishnasamy reg = <0xff430010 0x10>; 286*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 287*898eb75fSKarthikeyan Krishnasamy clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; 288*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 289*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm1m0_pins>; 290*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 291*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 292*898eb75fSKarthikeyan Krishnasamy }; 293*898eb75fSKarthikeyan Krishnasamy 29428b2ae4aSJagan Teki pwm2: pwm@ff430020 { 29528b2ae4aSJagan Teki compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 29628b2ae4aSJagan Teki reg = <0xff430020 0x10>; 29728b2ae4aSJagan Teki clock-names = "pwm", "pclk"; 29828b2ae4aSJagan Teki clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; 29928b2ae4aSJagan Teki pinctrl-names = "default"; 30028b2ae4aSJagan Teki pinctrl-0 = <&pwm2m0_pins>; 30128b2ae4aSJagan Teki #pwm-cells = <3>; 30228b2ae4aSJagan Teki status = "disabled"; 30328b2ae4aSJagan Teki }; 30428b2ae4aSJagan Teki 305*898eb75fSKarthikeyan Krishnasamy pwm3: pwm@ff430030 { 306*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 307*898eb75fSKarthikeyan Krishnasamy reg = <0xff430030 0x10>; 308*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 309*898eb75fSKarthikeyan Krishnasamy clocks = <&pmucru CLK_PWM0>, <&pmucru PCLK_PWM0>; 310*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 311*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm3m0_pins>; 312*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 313*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 314*898eb75fSKarthikeyan Krishnasamy }; 315*898eb75fSKarthikeyan Krishnasamy 316*898eb75fSKarthikeyan Krishnasamy pwm4: pwm@ff440000 { 317*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 318*898eb75fSKarthikeyan Krishnasamy reg = <0xff440000 0x10>; 319*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 320*898eb75fSKarthikeyan Krishnasamy clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; 321*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 322*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm4m0_pins>; 323*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 324*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 325*898eb75fSKarthikeyan Krishnasamy }; 326*898eb75fSKarthikeyan Krishnasamy 327*898eb75fSKarthikeyan Krishnasamy pwm5: pwm@ff440010 { 328*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 329*898eb75fSKarthikeyan Krishnasamy reg = <0xff440010 0x10>; 330*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 331*898eb75fSKarthikeyan Krishnasamy clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; 332*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 333*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm5m0_pins>; 334*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 335*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 336*898eb75fSKarthikeyan Krishnasamy }; 337*898eb75fSKarthikeyan Krishnasamy 338*898eb75fSKarthikeyan Krishnasamy pwm6: pwm@ff440020 { 339*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 340*898eb75fSKarthikeyan Krishnasamy reg = <0xff440020 0x10>; 341*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 342*898eb75fSKarthikeyan Krishnasamy clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; 343*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 344*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm6m0_pins>; 345*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 346*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 347*898eb75fSKarthikeyan Krishnasamy }; 348*898eb75fSKarthikeyan Krishnasamy 349*898eb75fSKarthikeyan Krishnasamy pwm7: pwm@ff440030 { 350*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 351*898eb75fSKarthikeyan Krishnasamy reg = <0xff440030 0x10>; 352*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 353*898eb75fSKarthikeyan Krishnasamy clocks = <&pmucru CLK_PWM1>, <&pmucru PCLK_PWM1>; 354*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 355*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm7m0_pins>; 356*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 357*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 358*898eb75fSKarthikeyan Krishnasamy }; 359*898eb75fSKarthikeyan Krishnasamy 360724ba675SRob Herring pmucru: clock-controller@ff480000 { 361724ba675SRob Herring compatible = "rockchip,rv1126-pmucru"; 362724ba675SRob Herring reg = <0xff480000 0x1000>; 363724ba675SRob Herring rockchip,grf = <&grf>; 364724ba675SRob Herring #clock-cells = <1>; 365724ba675SRob Herring #reset-cells = <1>; 366724ba675SRob Herring }; 367724ba675SRob Herring 368724ba675SRob Herring cru: clock-controller@ff490000 { 369724ba675SRob Herring compatible = "rockchip,rv1126-cru"; 370724ba675SRob Herring reg = <0xff490000 0x1000>; 371724ba675SRob Herring clocks = <&xin24m>; 372724ba675SRob Herring clock-names = "xin24m"; 373724ba675SRob Herring rockchip,grf = <&grf>; 374724ba675SRob Herring #clock-cells = <1>; 375724ba675SRob Herring #reset-cells = <1>; 376724ba675SRob Herring }; 377724ba675SRob Herring 378724ba675SRob Herring dmac: dma-controller@ff4e0000 { 379724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 380724ba675SRob Herring reg = <0xff4e0000 0x4000>; 381724ba675SRob Herring interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 382724ba675SRob Herring <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 383724ba675SRob Herring #dma-cells = <1>; 384724ba675SRob Herring arm,pl330-periph-burst; 385724ba675SRob Herring clocks = <&cru ACLK_DMAC>; 386724ba675SRob Herring clock-names = "apb_pclk"; 387724ba675SRob Herring }; 388724ba675SRob Herring 38915db79e0SKarthikeyan Krishnasamy i2c3: i2c@ff520000 { 39015db79e0SKarthikeyan Krishnasamy compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c"; 39115db79e0SKarthikeyan Krishnasamy reg = <0xff520000 0x1000>; 39215db79e0SKarthikeyan Krishnasamy interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 39315db79e0SKarthikeyan Krishnasamy clocks = <&cru CLK_I2C3>, <&cru PCLK_I2C3>; 39415db79e0SKarthikeyan Krishnasamy clock-names = "i2c", "pclk"; 39515db79e0SKarthikeyan Krishnasamy pinctrl-names = "default"; 39615db79e0SKarthikeyan Krishnasamy pinctrl-0 = <&i2c3m0_xfer>; 39715db79e0SKarthikeyan Krishnasamy rockchip,grf = <&pmugrf>; 39815db79e0SKarthikeyan Krishnasamy #address-cells = <1>; 39915db79e0SKarthikeyan Krishnasamy #size-cells = <0>; 40015db79e0SKarthikeyan Krishnasamy status = "disabled"; 40115db79e0SKarthikeyan Krishnasamy }; 40215db79e0SKarthikeyan Krishnasamy 403*898eb75fSKarthikeyan Krishnasamy pwm8: pwm@ff550000 { 404*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 405*898eb75fSKarthikeyan Krishnasamy reg = <0xff550000 0x10>; 406*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 407*898eb75fSKarthikeyan Krishnasamy clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; 408*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm8m0_pins>; 409*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 410*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 411*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 412*898eb75fSKarthikeyan Krishnasamy }; 413*898eb75fSKarthikeyan Krishnasamy 414*898eb75fSKarthikeyan Krishnasamy pwm9: pwm@ff550010 { 415*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 416*898eb75fSKarthikeyan Krishnasamy reg = <0xff550010 0x10>; 417*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 418*898eb75fSKarthikeyan Krishnasamy clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; 419*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm9m0_pins>; 420*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 421*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 422*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 423*898eb75fSKarthikeyan Krishnasamy }; 424*898eb75fSKarthikeyan Krishnasamy 425*898eb75fSKarthikeyan Krishnasamy pwm10: pwm@ff550020 { 426*898eb75fSKarthikeyan Krishnasamy compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 427*898eb75fSKarthikeyan Krishnasamy reg = <0xff550020 0x10>; 428*898eb75fSKarthikeyan Krishnasamy clock-names = "pwm", "pclk"; 429*898eb75fSKarthikeyan Krishnasamy clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; 430*898eb75fSKarthikeyan Krishnasamy pinctrl-0 = <&pwm10m0_pins>; 431*898eb75fSKarthikeyan Krishnasamy pinctrl-names = "default"; 432*898eb75fSKarthikeyan Krishnasamy #pwm-cells = <3>; 433*898eb75fSKarthikeyan Krishnasamy status = "disabled"; 434*898eb75fSKarthikeyan Krishnasamy }; 435*898eb75fSKarthikeyan Krishnasamy 436c5cb1950SJagan Teki pwm11: pwm@ff550030 { 437c5cb1950SJagan Teki compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm"; 438c5cb1950SJagan Teki reg = <0xff550030 0x10>; 439c5cb1950SJagan Teki clock-names = "pwm", "pclk"; 440c5cb1950SJagan Teki clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>; 441c5cb1950SJagan Teki pinctrl-0 = <&pwm11m0_pins>; 442c5cb1950SJagan Teki pinctrl-names = "default"; 443c5cb1950SJagan Teki #pwm-cells = <3>; 444c5cb1950SJagan Teki status = "disabled"; 445c5cb1950SJagan Teki }; 446c5cb1950SJagan Teki 447724ba675SRob Herring uart0: serial@ff560000 { 448724ba675SRob Herring compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; 449724ba675SRob Herring reg = <0xff560000 0x100>; 450724ba675SRob Herring interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 451724ba675SRob Herring clock-frequency = <24000000>; 452724ba675SRob Herring clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 453724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 454724ba675SRob Herring dmas = <&dmac 5>, <&dmac 4>; 455724ba675SRob Herring dma-names = "tx", "rx"; 456724ba675SRob Herring pinctrl-names = "default"; 457724ba675SRob Herring pinctrl-0 = <&uart0_xfer>; 458724ba675SRob Herring reg-shift = <2>; 459724ba675SRob Herring reg-io-width = <4>; 460724ba675SRob Herring status = "disabled"; 461724ba675SRob Herring }; 462724ba675SRob Herring 463724ba675SRob Herring uart2: serial@ff570000 { 464724ba675SRob Herring compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; 465724ba675SRob Herring reg = <0xff570000 0x100>; 466724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 467724ba675SRob Herring clock-frequency = <24000000>; 468724ba675SRob Herring clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 469724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 470724ba675SRob Herring dmas = <&dmac 9>, <&dmac 8>; 471724ba675SRob Herring dma-names = "tx", "rx"; 472724ba675SRob Herring pinctrl-names = "default"; 473724ba675SRob Herring pinctrl-0 = <&uart2m1_xfer>; 474724ba675SRob Herring reg-shift = <2>; 475724ba675SRob Herring reg-io-width = <4>; 476724ba675SRob Herring status = "disabled"; 477724ba675SRob Herring }; 478724ba675SRob Herring 479724ba675SRob Herring uart3: serial@ff580000 { 480724ba675SRob Herring compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; 481724ba675SRob Herring reg = <0xff580000 0x100>; 482724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 483724ba675SRob Herring clock-frequency = <24000000>; 484724ba675SRob Herring clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>; 485724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 486724ba675SRob Herring dmas = <&dmac 11>, <&dmac 10>; 487724ba675SRob Herring dma-names = "tx", "rx"; 488724ba675SRob Herring pinctrl-names = "default"; 489724ba675SRob Herring pinctrl-0 = <&uart3m0_xfer>; 490724ba675SRob Herring reg-shift = <2>; 491724ba675SRob Herring reg-io-width = <4>; 492724ba675SRob Herring status = "disabled"; 493724ba675SRob Herring }; 494724ba675SRob Herring 495724ba675SRob Herring uart4: serial@ff590000 { 496724ba675SRob Herring compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; 497724ba675SRob Herring reg = <0xff590000 0x100>; 498724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 499724ba675SRob Herring clock-frequency = <24000000>; 500724ba675SRob Herring clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>; 501724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 502724ba675SRob Herring dmas = <&dmac 13>, <&dmac 12>; 503724ba675SRob Herring dma-names = "tx", "rx"; 504724ba675SRob Herring pinctrl-names = "default"; 505724ba675SRob Herring pinctrl-0 = <&uart4m0_xfer>; 506724ba675SRob Herring reg-shift = <2>; 507724ba675SRob Herring reg-io-width = <4>; 508724ba675SRob Herring status = "disabled"; 509724ba675SRob Herring }; 510724ba675SRob Herring 511724ba675SRob Herring uart5: serial@ff5a0000 { 512724ba675SRob Herring compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart"; 513724ba675SRob Herring reg = <0xff5a0000 0x100>; 514724ba675SRob Herring interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 515724ba675SRob Herring clock-frequency = <24000000>; 516724ba675SRob Herring clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>; 517724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 518724ba675SRob Herring dmas = <&dmac 15>, <&dmac 14>; 519724ba675SRob Herring dma-names = "tx", "rx"; 520724ba675SRob Herring pinctrl-names = "default"; 521724ba675SRob Herring pinctrl-0 = <&uart5m0_xfer>; 522724ba675SRob Herring reg-shift = <2>; 523724ba675SRob Herring reg-io-width = <4>; 524724ba675SRob Herring status = "disabled"; 525724ba675SRob Herring }; 526724ba675SRob Herring 527724ba675SRob Herring saradc: adc@ff5e0000 { 528724ba675SRob Herring compatible = "rockchip,rv1126-saradc", "rockchip,rk3399-saradc"; 529724ba675SRob Herring reg = <0xff5e0000 0x100>; 530724ba675SRob Herring interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 531724ba675SRob Herring #io-channel-cells = <1>; 532724ba675SRob Herring clocks = <&cru CLK_SARADC>, <&cru PCLK_SARADC>; 533724ba675SRob Herring clock-names = "saradc", "apb_pclk"; 534724ba675SRob Herring resets = <&cru SRST_SARADC_P>; 535724ba675SRob Herring reset-names = "saradc-apb"; 536724ba675SRob Herring status = "disabled"; 537724ba675SRob Herring }; 538724ba675SRob Herring 539724ba675SRob Herring timer0: timer@ff660000 { 540724ba675SRob Herring compatible = "rockchip,rv1126-timer", "rockchip,rk3288-timer"; 541724ba675SRob Herring reg = <0xff660000 0x20>; 542724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 543724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&cru CLK_TIMER0>; 544724ba675SRob Herring clock-names = "pclk", "timer"; 545724ba675SRob Herring }; 546724ba675SRob Herring 547212cda94SKarthikeyan Krishnasamy wdt: watchdog@ff680000 { 548212cda94SKarthikeyan Krishnasamy compatible = "rockchip,rv1126-wdt", "snps,dw-wdt"; 549212cda94SKarthikeyan Krishnasamy reg = <0xff680000 0x100>; 550212cda94SKarthikeyan Krishnasamy interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 551212cda94SKarthikeyan Krishnasamy clocks = <&cru PCLK_WDT>; 552212cda94SKarthikeyan Krishnasamy status = "disabled"; 553212cda94SKarthikeyan Krishnasamy }; 554212cda94SKarthikeyan Krishnasamy 555212cda94SKarthikeyan Krishnasamy i2s0: i2s@ff800000 { 556212cda94SKarthikeyan Krishnasamy compatible = "rockchip,rv1126-i2s-tdm"; 557212cda94SKarthikeyan Krishnasamy reg = <0xff800000 0x1000>; 558212cda94SKarthikeyan Krishnasamy interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; 559212cda94SKarthikeyan Krishnasamy clocks = <&cru MCLK_I2S0_TX>, <&cru MCLK_I2S0_RX>, <&cru HCLK_I2S0>; 560212cda94SKarthikeyan Krishnasamy clock-names = "mclk_tx", "mclk_rx", "hclk"; 561212cda94SKarthikeyan Krishnasamy dmas = <&dmac 20>, <&dmac 19>; 562212cda94SKarthikeyan Krishnasamy dma-names = "tx", "rx"; 563212cda94SKarthikeyan Krishnasamy pinctrl-names = "default"; 564212cda94SKarthikeyan Krishnasamy pinctrl-0 = <&i2s0m0_sclk_tx>, 565212cda94SKarthikeyan Krishnasamy <&i2s0m0_sclk_rx>, 566212cda94SKarthikeyan Krishnasamy <&i2s0m0_mclk>, 567212cda94SKarthikeyan Krishnasamy <&i2s0m0_lrck_tx>, 568212cda94SKarthikeyan Krishnasamy <&i2s0m0_lrck_rx>, 569212cda94SKarthikeyan Krishnasamy <&i2s0m0_sdi0>, 570212cda94SKarthikeyan Krishnasamy <&i2s0m0_sdo0>, 571212cda94SKarthikeyan Krishnasamy <&i2s0m0_sdo1_sdi3>, 572212cda94SKarthikeyan Krishnasamy <&i2s0m0_sdo2_sdi2>, 5731bf0dcb1SJagan Teki <&i2s0m0_sdo3_sdi1>; 5741bf0dcb1SJagan Teki resets = <&cru SRST_I2S0_TX_M>, <&cru SRST_I2S0_RX_M>; 5751bf0dcb1SJagan Teki reset-names = "tx-m", "rx-m"; 5761bf0dcb1SJagan Teki rockchip,grf = <&grf>; 5771bf0dcb1SJagan Teki #sound-dai-cells = <0>; 5781bf0dcb1SJagan Teki status = "disabled"; 5791bf0dcb1SJagan Teki }; 5801bf0dcb1SJagan Teki 5811bf0dcb1SJagan Teki vop: vop@ffb00000 { 5821bf0dcb1SJagan Teki compatible = "rockchip,rv1126-vop"; 5831bf0dcb1SJagan Teki reg = <0xffb00000 0x200>, <0xffb00a00 0x400>; 5841bf0dcb1SJagan Teki interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 5851bf0dcb1SJagan Teki clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; 5861bf0dcb1SJagan Teki clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>; 5871bf0dcb1SJagan Teki reset-names = "axi", "ahb", "dclk"; 5881bf0dcb1SJagan Teki resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>; 5891bf0dcb1SJagan Teki iommus = <&vop_mmu>; 5901bf0dcb1SJagan Teki power-domains = <&power RV1126_PD_VO>; 5911bf0dcb1SJagan Teki status = "disabled"; 5921bf0dcb1SJagan Teki 5931bf0dcb1SJagan Teki vop_out: port { 5941bf0dcb1SJagan Teki #address-cells = <1>; 5951bf0dcb1SJagan Teki #size-cells = <0>; 5961bf0dcb1SJagan Teki 5971bf0dcb1SJagan Teki vop_out_rgb: endpoint@0 { 5981bf0dcb1SJagan Teki reg = <0>; 5991bf0dcb1SJagan Teki }; 6001bf0dcb1SJagan Teki 6011bf0dcb1SJagan Teki vop_out_dsi: endpoint@1 { 6021bf0dcb1SJagan Teki reg = <1>; 6031bf0dcb1SJagan Teki }; 6041bf0dcb1SJagan Teki }; 6051bf0dcb1SJagan Teki }; 6061bf0dcb1SJagan Teki 6071bf0dcb1SJagan Teki vop_mmu: iommu@ffb00f00 { 6081bf0dcb1SJagan Teki compatible = "rockchip,iommu"; 6091bf0dcb1SJagan Teki reg = <0xffb00f00 0x100>; 610724ba675SRob Herring interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 611724ba675SRob Herring clock-names = "aclk", "iface"; 612724ba675SRob Herring clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>; 613724ba675SRob Herring #iommu-cells = <0>; 614724ba675SRob Herring power-domains = <&power RV1126_PD_VO>; 615724ba675SRob Herring status = "disabled"; 616724ba675SRob Herring }; 617724ba675SRob Herring 618724ba675SRob Herring gmac: ethernet@ffc40000 { 619724ba675SRob Herring compatible = "rockchip,rv1126-gmac", "snps,dwmac-4.20a"; 620724ba675SRob Herring reg = <0xffc40000 0x4000>; 621724ba675SRob Herring interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, 622724ba675SRob Herring <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 623724ba675SRob Herring interrupt-names = "macirq", "eth_wake_irq"; 624724ba675SRob Herring rockchip,grf = <&grf>; 625724ba675SRob Herring clocks = <&cru CLK_GMAC_SRC>, <&cru CLK_GMAC_TX_RX>, 626724ba675SRob Herring <&cru CLK_GMAC_TX_RX>, <&cru CLK_GMAC_REF>, 627724ba675SRob Herring <&cru ACLK_GMAC>, <&cru PCLK_GMAC>, 628724ba675SRob Herring <&cru CLK_GMAC_TX_RX>, <&cru CLK_GMAC_PTPREF>; 629724ba675SRob Herring clock-names = "stmmaceth", "mac_clk_rx", 630724ba675SRob Herring "mac_clk_tx", "clk_mac_ref", 631724ba675SRob Herring "aclk_mac", "pclk_mac", 632724ba675SRob Herring "clk_mac_speed", "ptp_ref"; 633724ba675SRob Herring resets = <&cru SRST_GMAC_A>; 634724ba675SRob Herring reset-names = "stmmaceth"; 635724ba675SRob Herring 636724ba675SRob Herring snps,mixed-burst; 637724ba675SRob Herring snps,tso; 638724ba675SRob Herring 639724ba675SRob Herring snps,axi-config = <&stmmac_axi_setup>; 640724ba675SRob Herring snps,mtl-rx-config = <&mtl_rx_setup>; 641724ba675SRob Herring snps,mtl-tx-config = <&mtl_tx_setup>; 642724ba675SRob Herring status = "disabled"; 643724ba675SRob Herring 644724ba675SRob Herring mdio: mdio { 645724ba675SRob Herring compatible = "snps,dwmac-mdio"; 646724ba675SRob Herring #address-cells = <0x1>; 647724ba675SRob Herring #size-cells = <0x0>; 648724ba675SRob Herring }; 649724ba675SRob Herring 650724ba675SRob Herring stmmac_axi_setup: stmmac-axi-config { 651724ba675SRob Herring snps,wr_osr_lmt = <4>; 652724ba675SRob Herring snps,rd_osr_lmt = <8>; 653724ba675SRob Herring snps,blen = <0 0 0 0 16 8 4>; 654724ba675SRob Herring }; 655724ba675SRob Herring 656724ba675SRob Herring mtl_rx_setup: rx-queues-config { 657724ba675SRob Herring snps,rx-queues-to-use = <1>; 658724ba675SRob Herring queue0 {}; 659724ba675SRob Herring }; 660724ba675SRob Herring 661724ba675SRob Herring mtl_tx_setup: tx-queues-config { 662724ba675SRob Herring snps,tx-queues-to-use = <1>; 663724ba675SRob Herring queue0 {}; 664724ba675SRob Herring }; 665724ba675SRob Herring }; 666724ba675SRob Herring 667724ba675SRob Herring emmc: mmc@ffc50000 { 668724ba675SRob Herring compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc"; 669724ba675SRob Herring reg = <0xffc50000 0x4000>; 670724ba675SRob Herring interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 671724ba675SRob Herring clocks = <&cru HCLK_EMMC>, <&cru CLK_EMMC>, 672724ba675SRob Herring <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 673724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 674724ba675SRob Herring fifo-depth = <0x100>; 675724ba675SRob Herring max-frequency = <200000000>; 676724ba675SRob Herring power-domains = <&power RV1126_PD_NVM>; 677724ba675SRob Herring status = "disabled"; 678724ba675SRob Herring }; 679724ba675SRob Herring 680724ba675SRob Herring sdmmc: mmc@ffc60000 { 681724ba675SRob Herring compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc"; 682724ba675SRob Herring reg = <0xffc60000 0x4000>; 683724ba675SRob Herring interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; 684724ba675SRob Herring clocks = <&cru HCLK_SDMMC>, <&cru CLK_SDMMC>, 685724ba675SRob Herring <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 686724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 687724ba675SRob Herring fifo-depth = <0x100>; 688724ba675SRob Herring max-frequency = <200000000>; 689724ba675SRob Herring status = "disabled"; 690724ba675SRob Herring }; 691724ba675SRob Herring 692724ba675SRob Herring sdio: mmc@ffc70000 { 693724ba675SRob Herring compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc"; 694724ba675SRob Herring reg = <0xffc70000 0x4000>; 695724ba675SRob Herring interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; 696724ba675SRob Herring clocks = <&cru HCLK_SDIO>, <&cru CLK_SDIO>, 697c3ae1484SJagan Teki <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 698c3ae1484SJagan Teki clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 699c3ae1484SJagan Teki fifo-depth = <0x100>; 700c3ae1484SJagan Teki max-frequency = <200000000>; 701c3ae1484SJagan Teki power-domains = <&power RV1126_PD_SDIO>; 702c3ae1484SJagan Teki status = "disabled"; 703c3ae1484SJagan Teki }; 704c3ae1484SJagan Teki 705c3ae1484SJagan Teki sfc: spi@ffc90000 { 706c3ae1484SJagan Teki compatible = "rockchip,sfc"; 707c3ae1484SJagan Teki reg = <0xffc90000 0x4000>; 708c3ae1484SJagan Teki interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; 709724ba675SRob Herring assigned-clocks = <&cru SCLK_SFC>; 710724ba675SRob Herring assigned-clock-rates = <80000000>; 711724ba675SRob Herring clock-names = "clk_sfc", "hclk_sfc"; 712724ba675SRob Herring clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>; 713724ba675SRob Herring power-domains = <&power RV1126_PD_NVM>; 714724ba675SRob Herring status = "disabled"; 715724ba675SRob Herring }; 716724ba675SRob Herring 717724ba675SRob Herring pinctrl: pinctrl { 718724ba675SRob Herring compatible = "rockchip,rv1126-pinctrl"; 719724ba675SRob Herring rockchip,grf = <&grf>; 720724ba675SRob Herring rockchip,pmu = <&pmugrf>; 721724ba675SRob Herring #address-cells = <1>; 722724ba675SRob Herring #size-cells = <1>; 723724ba675SRob Herring ranges; 724724ba675SRob Herring 725724ba675SRob Herring gpio0: gpio@ff460000 { 726724ba675SRob Herring compatible = "rockchip,gpio-bank"; 727724ba675SRob Herring reg = <0xff460000 0x100>; 728724ba675SRob Herring interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 729724ba675SRob Herring clocks = <&pmucru PCLK_GPIO0>, <&pmucru DBCLK_GPIO0>; 730724ba675SRob Herring gpio-controller; 731724ba675SRob Herring #gpio-cells = <2>; 732724ba675SRob Herring interrupt-controller; 733724ba675SRob Herring #interrupt-cells = <2>; 734724ba675SRob Herring }; 735724ba675SRob Herring 736724ba675SRob Herring gpio1: gpio@ff620000 { 737724ba675SRob Herring compatible = "rockchip,gpio-bank"; 738724ba675SRob Herring reg = <0xff620000 0x100>; 739724ba675SRob Herring interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 740724ba675SRob Herring clocks = <&cru PCLK_GPIO1>, <&cru DBCLK_GPIO1>; 741724ba675SRob Herring gpio-controller; 742724ba675SRob Herring #gpio-cells = <2>; 743724ba675SRob Herring interrupt-controller; 744724ba675SRob Herring #interrupt-cells = <2>; 745724ba675SRob Herring }; 746724ba675SRob Herring 747724ba675SRob Herring gpio2: gpio@ff630000 { 748724ba675SRob Herring compatible = "rockchip,gpio-bank"; 749724ba675SRob Herring reg = <0xff630000 0x100>; 750724ba675SRob Herring interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 751724ba675SRob Herring clocks = <&cru PCLK_GPIO2>, <&cru DBCLK_GPIO2>; 752724ba675SRob Herring gpio-controller; 753724ba675SRob Herring #gpio-cells = <2>; 754724ba675SRob Herring interrupt-controller; 755724ba675SRob Herring #interrupt-cells = <2>; 756724ba675SRob Herring }; 757724ba675SRob Herring 758724ba675SRob Herring gpio3: gpio@ff640000 { 759724ba675SRob Herring compatible = "rockchip,gpio-bank"; 760724ba675SRob Herring reg = <0xff640000 0x100>; 761724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 762724ba675SRob Herring clocks = <&cru PCLK_GPIO3>, <&cru DBCLK_GPIO3>; 763724ba675SRob Herring gpio-controller; 764724ba675SRob Herring #gpio-cells = <2>; 765724ba675SRob Herring interrupt-controller; 766724ba675SRob Herring #interrupt-cells = <2>; 767724ba675SRob Herring }; 768724ba675SRob Herring 769724ba675SRob Herring gpio4: gpio@ff650000 { 770724ba675SRob Herring compatible = "rockchip,gpio-bank"; 771724ba675SRob Herring reg = <0xff650000 0x100>; 772724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 773724ba675SRob Herring clocks = <&cru PCLK_GPIO4>, <&cru DBCLK_GPIO4>; 774724ba675SRob Herring gpio-controller; 775 #gpio-cells = <2>; 776 interrupt-controller; 777 #interrupt-cells = <2>; 778 }; 779 }; 780}; 781 782#include "rv1126-pinctrl.dtsi" 783