1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2021 Alibaba Group Holding Limited. 4*f126890aSEmmanuel Vadot * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org> 5*f126890aSEmmanuel Vadot */ 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot/ { 10*f126890aSEmmanuel Vadot compatible = "thead,th1520"; 11*f126890aSEmmanuel Vadot #address-cells = <2>; 12*f126890aSEmmanuel Vadot #size-cells = <2>; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot cpus: cpus { 15*f126890aSEmmanuel Vadot #address-cells = <1>; 16*f126890aSEmmanuel Vadot #size-cells = <0>; 17*f126890aSEmmanuel Vadot timebase-frequency = <3000000>; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot c910_0: cpu@0 { 20*f126890aSEmmanuel Vadot compatible = "thead,c910", "riscv"; 21*f126890aSEmmanuel Vadot device_type = "cpu"; 22*f126890aSEmmanuel Vadot riscv,isa = "rv64imafdc"; 23*f126890aSEmmanuel Vadot reg = <0>; 24*f126890aSEmmanuel Vadot i-cache-block-size = <64>; 25*f126890aSEmmanuel Vadot i-cache-size = <65536>; 26*f126890aSEmmanuel Vadot i-cache-sets = <512>; 27*f126890aSEmmanuel Vadot d-cache-block-size = <64>; 28*f126890aSEmmanuel Vadot d-cache-size = <65536>; 29*f126890aSEmmanuel Vadot d-cache-sets = <512>; 30*f126890aSEmmanuel Vadot next-level-cache = <&l2_cache>; 31*f126890aSEmmanuel Vadot mmu-type = "riscv,sv39"; 32*f126890aSEmmanuel Vadot 33*f126890aSEmmanuel Vadot cpu0_intc: interrupt-controller { 34*f126890aSEmmanuel Vadot compatible = "riscv,cpu-intc"; 35*f126890aSEmmanuel Vadot interrupt-controller; 36*f126890aSEmmanuel Vadot #interrupt-cells = <1>; 37*f126890aSEmmanuel Vadot }; 38*f126890aSEmmanuel Vadot }; 39*f126890aSEmmanuel Vadot 40*f126890aSEmmanuel Vadot c910_1: cpu@1 { 41*f126890aSEmmanuel Vadot compatible = "thead,c910", "riscv"; 42*f126890aSEmmanuel Vadot device_type = "cpu"; 43*f126890aSEmmanuel Vadot riscv,isa = "rv64imafdc"; 44*f126890aSEmmanuel Vadot reg = <1>; 45*f126890aSEmmanuel Vadot i-cache-block-size = <64>; 46*f126890aSEmmanuel Vadot i-cache-size = <65536>; 47*f126890aSEmmanuel Vadot i-cache-sets = <512>; 48*f126890aSEmmanuel Vadot d-cache-block-size = <64>; 49*f126890aSEmmanuel Vadot d-cache-size = <65536>; 50*f126890aSEmmanuel Vadot d-cache-sets = <512>; 51*f126890aSEmmanuel Vadot next-level-cache = <&l2_cache>; 52*f126890aSEmmanuel Vadot mmu-type = "riscv,sv39"; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot cpu1_intc: interrupt-controller { 55*f126890aSEmmanuel Vadot compatible = "riscv,cpu-intc"; 56*f126890aSEmmanuel Vadot interrupt-controller; 57*f126890aSEmmanuel Vadot #interrupt-cells = <1>; 58*f126890aSEmmanuel Vadot }; 59*f126890aSEmmanuel Vadot }; 60*f126890aSEmmanuel Vadot 61*f126890aSEmmanuel Vadot c910_2: cpu@2 { 62*f126890aSEmmanuel Vadot compatible = "thead,c910", "riscv"; 63*f126890aSEmmanuel Vadot device_type = "cpu"; 64*f126890aSEmmanuel Vadot riscv,isa = "rv64imafdc"; 65*f126890aSEmmanuel Vadot reg = <2>; 66*f126890aSEmmanuel Vadot i-cache-block-size = <64>; 67*f126890aSEmmanuel Vadot i-cache-size = <65536>; 68*f126890aSEmmanuel Vadot i-cache-sets = <512>; 69*f126890aSEmmanuel Vadot d-cache-block-size = <64>; 70*f126890aSEmmanuel Vadot d-cache-size = <65536>; 71*f126890aSEmmanuel Vadot d-cache-sets = <512>; 72*f126890aSEmmanuel Vadot next-level-cache = <&l2_cache>; 73*f126890aSEmmanuel Vadot mmu-type = "riscv,sv39"; 74*f126890aSEmmanuel Vadot 75*f126890aSEmmanuel Vadot cpu2_intc: interrupt-controller { 76*f126890aSEmmanuel Vadot compatible = "riscv,cpu-intc"; 77*f126890aSEmmanuel Vadot interrupt-controller; 78*f126890aSEmmanuel Vadot #interrupt-cells = <1>; 79*f126890aSEmmanuel Vadot }; 80*f126890aSEmmanuel Vadot }; 81*f126890aSEmmanuel Vadot 82*f126890aSEmmanuel Vadot c910_3: cpu@3 { 83*f126890aSEmmanuel Vadot compatible = "thead,c910", "riscv"; 84*f126890aSEmmanuel Vadot device_type = "cpu"; 85*f126890aSEmmanuel Vadot riscv,isa = "rv64imafdc"; 86*f126890aSEmmanuel Vadot reg = <3>; 87*f126890aSEmmanuel Vadot i-cache-block-size = <64>; 88*f126890aSEmmanuel Vadot i-cache-size = <65536>; 89*f126890aSEmmanuel Vadot i-cache-sets = <512>; 90*f126890aSEmmanuel Vadot d-cache-block-size = <64>; 91*f126890aSEmmanuel Vadot d-cache-size = <65536>; 92*f126890aSEmmanuel Vadot d-cache-sets = <512>; 93*f126890aSEmmanuel Vadot next-level-cache = <&l2_cache>; 94*f126890aSEmmanuel Vadot mmu-type = "riscv,sv39"; 95*f126890aSEmmanuel Vadot 96*f126890aSEmmanuel Vadot cpu3_intc: interrupt-controller { 97*f126890aSEmmanuel Vadot compatible = "riscv,cpu-intc"; 98*f126890aSEmmanuel Vadot interrupt-controller; 99*f126890aSEmmanuel Vadot #interrupt-cells = <1>; 100*f126890aSEmmanuel Vadot }; 101*f126890aSEmmanuel Vadot }; 102*f126890aSEmmanuel Vadot 103*f126890aSEmmanuel Vadot l2_cache: l2-cache { 104*f126890aSEmmanuel Vadot compatible = "cache"; 105*f126890aSEmmanuel Vadot cache-block-size = <64>; 106*f126890aSEmmanuel Vadot cache-level = <2>; 107*f126890aSEmmanuel Vadot cache-size = <1048576>; 108*f126890aSEmmanuel Vadot cache-sets = <1024>; 109*f126890aSEmmanuel Vadot cache-unified; 110*f126890aSEmmanuel Vadot }; 111*f126890aSEmmanuel Vadot }; 112*f126890aSEmmanuel Vadot 113*f126890aSEmmanuel Vadot osc: oscillator { 114*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 115*f126890aSEmmanuel Vadot clock-output-names = "osc_24m"; 116*f126890aSEmmanuel Vadot #clock-cells = <0>; 117*f126890aSEmmanuel Vadot }; 118*f126890aSEmmanuel Vadot 119*f126890aSEmmanuel Vadot osc_32k: 32k-oscillator { 120*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 121*f126890aSEmmanuel Vadot clock-output-names = "osc_32k"; 122*f126890aSEmmanuel Vadot #clock-cells = <0>; 123*f126890aSEmmanuel Vadot }; 124*f126890aSEmmanuel Vadot 125*f126890aSEmmanuel Vadot apb_clk: apb-clk-clock { 126*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 127*f126890aSEmmanuel Vadot clock-output-names = "apb_clk"; 128*f126890aSEmmanuel Vadot #clock-cells = <0>; 129*f126890aSEmmanuel Vadot }; 130*f126890aSEmmanuel Vadot 131*f126890aSEmmanuel Vadot uart_sclk: uart-sclk-clock { 132*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 133*f126890aSEmmanuel Vadot clock-output-names = "uart_sclk"; 134*f126890aSEmmanuel Vadot #clock-cells = <0>; 135*f126890aSEmmanuel Vadot }; 136*f126890aSEmmanuel Vadot 137*f126890aSEmmanuel Vadot soc { 138*f126890aSEmmanuel Vadot compatible = "simple-bus"; 139*f126890aSEmmanuel Vadot interrupt-parent = <&plic>; 140*f126890aSEmmanuel Vadot #address-cells = <2>; 141*f126890aSEmmanuel Vadot #size-cells = <2>; 142*f126890aSEmmanuel Vadot ranges; 143*f126890aSEmmanuel Vadot 144*f126890aSEmmanuel Vadot plic: interrupt-controller@ffd8000000 { 145*f126890aSEmmanuel Vadot compatible = "thead,th1520-plic", "thead,c900-plic"; 146*f126890aSEmmanuel Vadot reg = <0xff 0xd8000000 0x0 0x01000000>; 147*f126890aSEmmanuel Vadot interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>, 148*f126890aSEmmanuel Vadot <&cpu1_intc 11>, <&cpu1_intc 9>, 149*f126890aSEmmanuel Vadot <&cpu2_intc 11>, <&cpu2_intc 9>, 150*f126890aSEmmanuel Vadot <&cpu3_intc 11>, <&cpu3_intc 9>; 151*f126890aSEmmanuel Vadot interrupt-controller; 152*f126890aSEmmanuel Vadot #address-cells = <0>; 153*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 154*f126890aSEmmanuel Vadot riscv,ndev = <240>; 155*f126890aSEmmanuel Vadot }; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot clint: timer@ffdc000000 { 158*f126890aSEmmanuel Vadot compatible = "thead,th1520-clint", "thead,c900-clint"; 159*f126890aSEmmanuel Vadot reg = <0xff 0xdc000000 0x0 0x00010000>; 160*f126890aSEmmanuel Vadot interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>, 161*f126890aSEmmanuel Vadot <&cpu1_intc 3>, <&cpu1_intc 7>, 162*f126890aSEmmanuel Vadot <&cpu2_intc 3>, <&cpu2_intc 7>, 163*f126890aSEmmanuel Vadot <&cpu3_intc 3>, <&cpu3_intc 7>; 164*f126890aSEmmanuel Vadot }; 165*f126890aSEmmanuel Vadot 166*f126890aSEmmanuel Vadot uart0: serial@ffe7014000 { 167*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 168*f126890aSEmmanuel Vadot reg = <0xff 0xe7014000 0x0 0x100>; 169*f126890aSEmmanuel Vadot interrupts = <36 IRQ_TYPE_LEVEL_HIGH>; 170*f126890aSEmmanuel Vadot clocks = <&uart_sclk>; 171*f126890aSEmmanuel Vadot reg-shift = <2>; 172*f126890aSEmmanuel Vadot reg-io-width = <4>; 173*f126890aSEmmanuel Vadot status = "disabled"; 174*f126890aSEmmanuel Vadot }; 175*f126890aSEmmanuel Vadot 176*f126890aSEmmanuel Vadot uart1: serial@ffe7f00000 { 177*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 178*f126890aSEmmanuel Vadot reg = <0xff 0xe7f00000 0x0 0x100>; 179*f126890aSEmmanuel Vadot interrupts = <37 IRQ_TYPE_LEVEL_HIGH>; 180*f126890aSEmmanuel Vadot clocks = <&uart_sclk>; 181*f126890aSEmmanuel Vadot reg-shift = <2>; 182*f126890aSEmmanuel Vadot reg-io-width = <4>; 183*f126890aSEmmanuel Vadot status = "disabled"; 184*f126890aSEmmanuel Vadot }; 185*f126890aSEmmanuel Vadot 186*f126890aSEmmanuel Vadot uart3: serial@ffe7f04000 { 187*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 188*f126890aSEmmanuel Vadot reg = <0xff 0xe7f04000 0x0 0x100>; 189*f126890aSEmmanuel Vadot interrupts = <39 IRQ_TYPE_LEVEL_HIGH>; 190*f126890aSEmmanuel Vadot clocks = <&uart_sclk>; 191*f126890aSEmmanuel Vadot reg-shift = <2>; 192*f126890aSEmmanuel Vadot reg-io-width = <4>; 193*f126890aSEmmanuel Vadot status = "disabled"; 194*f126890aSEmmanuel Vadot }; 195*f126890aSEmmanuel Vadot 196*f126890aSEmmanuel Vadot gpio2: gpio@ffe7f34000 { 197*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 198*f126890aSEmmanuel Vadot reg = <0xff 0xe7f34000 0x0 0x1000>; 199*f126890aSEmmanuel Vadot #address-cells = <1>; 200*f126890aSEmmanuel Vadot #size-cells = <0>; 201*f126890aSEmmanuel Vadot 202*f126890aSEmmanuel Vadot portc: gpio-controller@0 { 203*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 204*f126890aSEmmanuel Vadot gpio-controller; 205*f126890aSEmmanuel Vadot #gpio-cells = <2>; 206*f126890aSEmmanuel Vadot ngpios = <32>; 207*f126890aSEmmanuel Vadot reg = <0>; 208*f126890aSEmmanuel Vadot interrupt-controller; 209*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 210*f126890aSEmmanuel Vadot interrupts = <58 IRQ_TYPE_LEVEL_HIGH>; 211*f126890aSEmmanuel Vadot }; 212*f126890aSEmmanuel Vadot }; 213*f126890aSEmmanuel Vadot 214*f126890aSEmmanuel Vadot gpio3: gpio@ffe7f38000 { 215*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 216*f126890aSEmmanuel Vadot reg = <0xff 0xe7f38000 0x0 0x1000>; 217*f126890aSEmmanuel Vadot #address-cells = <1>; 218*f126890aSEmmanuel Vadot #size-cells = <0>; 219*f126890aSEmmanuel Vadot 220*f126890aSEmmanuel Vadot portd: gpio-controller@0 { 221*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 222*f126890aSEmmanuel Vadot gpio-controller; 223*f126890aSEmmanuel Vadot #gpio-cells = <2>; 224*f126890aSEmmanuel Vadot ngpios = <32>; 225*f126890aSEmmanuel Vadot reg = <0>; 226*f126890aSEmmanuel Vadot interrupt-controller; 227*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 228*f126890aSEmmanuel Vadot interrupts = <59 IRQ_TYPE_LEVEL_HIGH>; 229*f126890aSEmmanuel Vadot }; 230*f126890aSEmmanuel Vadot }; 231*f126890aSEmmanuel Vadot 232*f126890aSEmmanuel Vadot gpio0: gpio@ffec005000 { 233*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 234*f126890aSEmmanuel Vadot reg = <0xff 0xec005000 0x0 0x1000>; 235*f126890aSEmmanuel Vadot #address-cells = <1>; 236*f126890aSEmmanuel Vadot #size-cells = <0>; 237*f126890aSEmmanuel Vadot 238*f126890aSEmmanuel Vadot porta: gpio-controller@0 { 239*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 240*f126890aSEmmanuel Vadot gpio-controller; 241*f126890aSEmmanuel Vadot #gpio-cells = <2>; 242*f126890aSEmmanuel Vadot ngpios = <32>; 243*f126890aSEmmanuel Vadot reg = <0>; 244*f126890aSEmmanuel Vadot interrupt-controller; 245*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 246*f126890aSEmmanuel Vadot interrupts = <56 IRQ_TYPE_LEVEL_HIGH>; 247*f126890aSEmmanuel Vadot }; 248*f126890aSEmmanuel Vadot }; 249*f126890aSEmmanuel Vadot 250*f126890aSEmmanuel Vadot gpio1: gpio@ffec006000 { 251*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 252*f126890aSEmmanuel Vadot reg = <0xff 0xec006000 0x0 0x1000>; 253*f126890aSEmmanuel Vadot #address-cells = <1>; 254*f126890aSEmmanuel Vadot #size-cells = <0>; 255*f126890aSEmmanuel Vadot 256*f126890aSEmmanuel Vadot portb: gpio-controller@0 { 257*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 258*f126890aSEmmanuel Vadot gpio-controller; 259*f126890aSEmmanuel Vadot #gpio-cells = <2>; 260*f126890aSEmmanuel Vadot ngpios = <32>; 261*f126890aSEmmanuel Vadot reg = <0>; 262*f126890aSEmmanuel Vadot interrupt-controller; 263*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 264*f126890aSEmmanuel Vadot interrupts = <57 IRQ_TYPE_LEVEL_HIGH>; 265*f126890aSEmmanuel Vadot }; 266*f126890aSEmmanuel Vadot }; 267*f126890aSEmmanuel Vadot 268*f126890aSEmmanuel Vadot uart2: serial@ffec010000 { 269*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 270*f126890aSEmmanuel Vadot reg = <0xff 0xec010000 0x0 0x4000>; 271*f126890aSEmmanuel Vadot interrupts = <38 IRQ_TYPE_LEVEL_HIGH>; 272*f126890aSEmmanuel Vadot clocks = <&uart_sclk>; 273*f126890aSEmmanuel Vadot reg-shift = <2>; 274*f126890aSEmmanuel Vadot reg-io-width = <4>; 275*f126890aSEmmanuel Vadot status = "disabled"; 276*f126890aSEmmanuel Vadot }; 277*f126890aSEmmanuel Vadot 278*f126890aSEmmanuel Vadot dmac0: dma-controller@ffefc00000 { 279*f126890aSEmmanuel Vadot compatible = "snps,axi-dma-1.01a"; 280*f126890aSEmmanuel Vadot reg = <0xff 0xefc00000 0x0 0x1000>; 281*f126890aSEmmanuel Vadot interrupts = <27 IRQ_TYPE_LEVEL_HIGH>; 282*f126890aSEmmanuel Vadot clocks = <&apb_clk>, <&apb_clk>; 283*f126890aSEmmanuel Vadot clock-names = "core-clk", "cfgr-clk"; 284*f126890aSEmmanuel Vadot #dma-cells = <1>; 285*f126890aSEmmanuel Vadot dma-channels = <4>; 286*f126890aSEmmanuel Vadot snps,block-size = <65536 65536 65536 65536>; 287*f126890aSEmmanuel Vadot snps,priority = <0 1 2 3>; 288*f126890aSEmmanuel Vadot snps,dma-masters = <1>; 289*f126890aSEmmanuel Vadot snps,data-width = <4>; 290*f126890aSEmmanuel Vadot snps,axi-max-burst-len = <16>; 291*f126890aSEmmanuel Vadot status = "disabled"; 292*f126890aSEmmanuel Vadot }; 293*f126890aSEmmanuel Vadot 294*f126890aSEmmanuel Vadot timer0: timer@ffefc32000 { 295*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 296*f126890aSEmmanuel Vadot reg = <0xff 0xefc32000 0x0 0x14>; 297*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 298*f126890aSEmmanuel Vadot clock-names = "timer"; 299*f126890aSEmmanuel Vadot interrupts = <16 IRQ_TYPE_LEVEL_HIGH>; 300*f126890aSEmmanuel Vadot status = "disabled"; 301*f126890aSEmmanuel Vadot }; 302*f126890aSEmmanuel Vadot 303*f126890aSEmmanuel Vadot timer1: timer@ffefc32014 { 304*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 305*f126890aSEmmanuel Vadot reg = <0xff 0xefc32014 0x0 0x14>; 306*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 307*f126890aSEmmanuel Vadot clock-names = "timer"; 308*f126890aSEmmanuel Vadot interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; 309*f126890aSEmmanuel Vadot status = "disabled"; 310*f126890aSEmmanuel Vadot }; 311*f126890aSEmmanuel Vadot 312*f126890aSEmmanuel Vadot timer2: timer@ffefc32028 { 313*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 314*f126890aSEmmanuel Vadot reg = <0xff 0xefc32028 0x0 0x14>; 315*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 316*f126890aSEmmanuel Vadot clock-names = "timer"; 317*f126890aSEmmanuel Vadot interrupts = <18 IRQ_TYPE_LEVEL_HIGH>; 318*f126890aSEmmanuel Vadot status = "disabled"; 319*f126890aSEmmanuel Vadot }; 320*f126890aSEmmanuel Vadot 321*f126890aSEmmanuel Vadot timer3: timer@ffefc3203c { 322*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 323*f126890aSEmmanuel Vadot reg = <0xff 0xefc3203c 0x0 0x14>; 324*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 325*f126890aSEmmanuel Vadot clock-names = "timer"; 326*f126890aSEmmanuel Vadot interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; 327*f126890aSEmmanuel Vadot status = "disabled"; 328*f126890aSEmmanuel Vadot }; 329*f126890aSEmmanuel Vadot 330*f126890aSEmmanuel Vadot uart4: serial@fff7f08000 { 331*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 332*f126890aSEmmanuel Vadot reg = <0xff 0xf7f08000 0x0 0x4000>; 333*f126890aSEmmanuel Vadot interrupts = <40 IRQ_TYPE_LEVEL_HIGH>; 334*f126890aSEmmanuel Vadot clocks = <&uart_sclk>; 335*f126890aSEmmanuel Vadot reg-shift = <2>; 336*f126890aSEmmanuel Vadot reg-io-width = <4>; 337*f126890aSEmmanuel Vadot status = "disabled"; 338*f126890aSEmmanuel Vadot }; 339*f126890aSEmmanuel Vadot 340*f126890aSEmmanuel Vadot uart5: serial@fff7f0c000 { 341*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 342*f126890aSEmmanuel Vadot reg = <0xff 0xf7f0c000 0x0 0x4000>; 343*f126890aSEmmanuel Vadot interrupts = <41 IRQ_TYPE_LEVEL_HIGH>; 344*f126890aSEmmanuel Vadot clocks = <&uart_sclk>; 345*f126890aSEmmanuel Vadot reg-shift = <2>; 346*f126890aSEmmanuel Vadot reg-io-width = <4>; 347*f126890aSEmmanuel Vadot status = "disabled"; 348*f126890aSEmmanuel Vadot }; 349*f126890aSEmmanuel Vadot 350*f126890aSEmmanuel Vadot timer4: timer@ffffc33000 { 351*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 352*f126890aSEmmanuel Vadot reg = <0xff 0xffc33000 0x0 0x14>; 353*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 354*f126890aSEmmanuel Vadot clock-names = "timer"; 355*f126890aSEmmanuel Vadot interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; 356*f126890aSEmmanuel Vadot status = "disabled"; 357*f126890aSEmmanuel Vadot }; 358*f126890aSEmmanuel Vadot 359*f126890aSEmmanuel Vadot timer5: timer@ffffc33014 { 360*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 361*f126890aSEmmanuel Vadot reg = <0xff 0xffc33014 0x0 0x14>; 362*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 363*f126890aSEmmanuel Vadot clock-names = "timer"; 364*f126890aSEmmanuel Vadot interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; 365*f126890aSEmmanuel Vadot status = "disabled"; 366*f126890aSEmmanuel Vadot }; 367*f126890aSEmmanuel Vadot 368*f126890aSEmmanuel Vadot timer6: timer@ffffc33028 { 369*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 370*f126890aSEmmanuel Vadot reg = <0xff 0xffc33028 0x0 0x14>; 371*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 372*f126890aSEmmanuel Vadot clock-names = "timer"; 373*f126890aSEmmanuel Vadot interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; 374*f126890aSEmmanuel Vadot status = "disabled"; 375*f126890aSEmmanuel Vadot }; 376*f126890aSEmmanuel Vadot 377*f126890aSEmmanuel Vadot timer7: timer@ffffc3303c { 378*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 379*f126890aSEmmanuel Vadot reg = <0xff 0xffc3303c 0x0 0x14>; 380*f126890aSEmmanuel Vadot clocks = <&apb_clk>; 381*f126890aSEmmanuel Vadot clock-names = "timer"; 382*f126890aSEmmanuel Vadot interrupts = <23 IRQ_TYPE_LEVEL_HIGH>; 383*f126890aSEmmanuel Vadot status = "disabled"; 384*f126890aSEmmanuel Vadot }; 385*f126890aSEmmanuel Vadot 386*f126890aSEmmanuel Vadot ao_gpio0: gpio@fffff41000 { 387*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 388*f126890aSEmmanuel Vadot reg = <0xff 0xfff41000 0x0 0x1000>; 389*f126890aSEmmanuel Vadot #address-cells = <1>; 390*f126890aSEmmanuel Vadot #size-cells = <0>; 391*f126890aSEmmanuel Vadot 392*f126890aSEmmanuel Vadot porte: gpio-controller@0 { 393*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 394*f126890aSEmmanuel Vadot gpio-controller; 395*f126890aSEmmanuel Vadot #gpio-cells = <2>; 396*f126890aSEmmanuel Vadot ngpios = <32>; 397*f126890aSEmmanuel Vadot reg = <0>; 398*f126890aSEmmanuel Vadot interrupt-controller; 399*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 400*f126890aSEmmanuel Vadot interrupts = <76 IRQ_TYPE_LEVEL_HIGH>; 401*f126890aSEmmanuel Vadot }; 402*f126890aSEmmanuel Vadot }; 403*f126890aSEmmanuel Vadot 404*f126890aSEmmanuel Vadot ao_gpio1: gpio@fffff52000 { 405*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio"; 406*f126890aSEmmanuel Vadot reg = <0xff 0xfff52000 0x0 0x1000>; 407*f126890aSEmmanuel Vadot #address-cells = <1>; 408*f126890aSEmmanuel Vadot #size-cells = <0>; 409*f126890aSEmmanuel Vadot 410*f126890aSEmmanuel Vadot portf: gpio-controller@0 { 411*f126890aSEmmanuel Vadot compatible = "snps,dw-apb-gpio-port"; 412*f126890aSEmmanuel Vadot gpio-controller; 413*f126890aSEmmanuel Vadot #gpio-cells = <2>; 414*f126890aSEmmanuel Vadot ngpios = <32>; 415*f126890aSEmmanuel Vadot reg = <0>; 416*f126890aSEmmanuel Vadot interrupt-controller; 417*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 418*f126890aSEmmanuel Vadot interrupts = <55 IRQ_TYPE_LEVEL_HIGH>; 419*f126890aSEmmanuel Vadot }; 420*f126890aSEmmanuel Vadot }; 421*f126890aSEmmanuel Vadot }; 422*f126890aSEmmanuel Vadot}; 423