1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2012 Altera <www.altera.com> 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring#include <dt-bindings/reset/altr,rst-mgr.h> 7*724ba675SRob Herring 8*724ba675SRob Herring/ { 9*724ba675SRob Herring #address-cells = <1>; 10*724ba675SRob Herring #size-cells = <1>; 11*724ba675SRob Herring 12*724ba675SRob Herring aliases { 13*724ba675SRob Herring serial0 = &uart0; 14*724ba675SRob Herring serial1 = &uart1; 15*724ba675SRob Herring timer0 = &timer0; 16*724ba675SRob Herring timer1 = &timer1; 17*724ba675SRob Herring timer2 = &timer2; 18*724ba675SRob Herring timer3 = &timer3; 19*724ba675SRob Herring }; 20*724ba675SRob Herring 21*724ba675SRob Herring cpus { 22*724ba675SRob Herring #address-cells = <1>; 23*724ba675SRob Herring #size-cells = <0>; 24*724ba675SRob Herring enable-method = "altr,socfpga-smp"; 25*724ba675SRob Herring 26*724ba675SRob Herring cpu0: cpu@0 { 27*724ba675SRob Herring compatible = "arm,cortex-a9"; 28*724ba675SRob Herring device_type = "cpu"; 29*724ba675SRob Herring reg = <0>; 30*724ba675SRob Herring next-level-cache = <&L2>; 31*724ba675SRob Herring }; 32*724ba675SRob Herring cpu1: cpu@1 { 33*724ba675SRob Herring compatible = "arm,cortex-a9"; 34*724ba675SRob Herring device_type = "cpu"; 35*724ba675SRob Herring reg = <1>; 36*724ba675SRob Herring next-level-cache = <&L2>; 37*724ba675SRob Herring }; 38*724ba675SRob Herring }; 39*724ba675SRob Herring 40*724ba675SRob Herring pmu: pmu@ff111000 { 41*724ba675SRob Herring compatible = "arm,cortex-a9-pmu"; 42*724ba675SRob Herring interrupt-parent = <&intc>; 43*724ba675SRob Herring interrupts = <0 176 4>, <0 177 4>; 44*724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>; 45*724ba675SRob Herring reg = <0xff111000 0x1000>, 46*724ba675SRob Herring <0xff113000 0x1000>; 47*724ba675SRob Herring }; 48*724ba675SRob Herring 49*724ba675SRob Herring intc: interrupt-controller@fffed000 { 50*724ba675SRob Herring compatible = "arm,cortex-a9-gic"; 51*724ba675SRob Herring #interrupt-cells = <3>; 52*724ba675SRob Herring interrupt-controller; 53*724ba675SRob Herring reg = <0xfffed000 0x1000>, 54*724ba675SRob Herring <0xfffec100 0x100>; 55*724ba675SRob Herring }; 56*724ba675SRob Herring 57*724ba675SRob Herring soc { 58*724ba675SRob Herring #address-cells = <1>; 59*724ba675SRob Herring #size-cells = <1>; 60*724ba675SRob Herring compatible = "simple-bus"; 61*724ba675SRob Herring device_type = "soc"; 62*724ba675SRob Herring interrupt-parent = <&intc>; 63*724ba675SRob Herring ranges; 64*724ba675SRob Herring 65*724ba675SRob Herring amba { 66*724ba675SRob Herring compatible = "simple-bus"; 67*724ba675SRob Herring #address-cells = <1>; 68*724ba675SRob Herring #size-cells = <1>; 69*724ba675SRob Herring ranges; 70*724ba675SRob Herring 71*724ba675SRob Herring pdma: pdma@ffe01000 { 72*724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 73*724ba675SRob Herring reg = <0xffe01000 0x1000>; 74*724ba675SRob Herring interrupts = <0 104 4>, 75*724ba675SRob Herring <0 105 4>, 76*724ba675SRob Herring <0 106 4>, 77*724ba675SRob Herring <0 107 4>, 78*724ba675SRob Herring <0 108 4>, 79*724ba675SRob Herring <0 109 4>, 80*724ba675SRob Herring <0 110 4>, 81*724ba675SRob Herring <0 111 4>; 82*724ba675SRob Herring #dma-cells = <1>; 83*724ba675SRob Herring clocks = <&l4_main_clk>; 84*724ba675SRob Herring clock-names = "apb_pclk"; 85*724ba675SRob Herring resets = <&rst DMA_RESET>; 86*724ba675SRob Herring reset-names = "dma"; 87*724ba675SRob Herring }; 88*724ba675SRob Herring }; 89*724ba675SRob Herring 90*724ba675SRob Herring base_fpga_region { 91*724ba675SRob Herring compatible = "fpga-region"; 92*724ba675SRob Herring fpga-mgr = <&fpgamgr0>; 93*724ba675SRob Herring 94*724ba675SRob Herring #address-cells = <0x1>; 95*724ba675SRob Herring #size-cells = <0x1>; 96*724ba675SRob Herring }; 97*724ba675SRob Herring 98*724ba675SRob Herring can0: can@ffc00000 { 99*724ba675SRob Herring compatible = "bosch,d_can"; 100*724ba675SRob Herring reg = <0xffc00000 0x1000>; 101*724ba675SRob Herring interrupts = <0 131 4>, <0 132 4>, <0 133 4>, <0 134 4>; 102*724ba675SRob Herring clocks = <&can0_clk>; 103*724ba675SRob Herring resets = <&rst CAN0_RESET>; 104*724ba675SRob Herring status = "disabled"; 105*724ba675SRob Herring }; 106*724ba675SRob Herring 107*724ba675SRob Herring can1: can@ffc01000 { 108*724ba675SRob Herring compatible = "bosch,d_can"; 109*724ba675SRob Herring reg = <0xffc01000 0x1000>; 110*724ba675SRob Herring interrupts = <0 135 4>, <0 136 4>, <0 137 4>, <0 138 4>; 111*724ba675SRob Herring clocks = <&can1_clk>; 112*724ba675SRob Herring resets = <&rst CAN1_RESET>; 113*724ba675SRob Herring status = "disabled"; 114*724ba675SRob Herring }; 115*724ba675SRob Herring 116*724ba675SRob Herring clkmgr@ffd04000 { 117*724ba675SRob Herring compatible = "altr,clk-mgr"; 118*724ba675SRob Herring reg = <0xffd04000 0x1000>; 119*724ba675SRob Herring 120*724ba675SRob Herring clocks { 121*724ba675SRob Herring #address-cells = <1>; 122*724ba675SRob Herring #size-cells = <0>; 123*724ba675SRob Herring 124*724ba675SRob Herring osc1: osc1 { 125*724ba675SRob Herring #clock-cells = <0>; 126*724ba675SRob Herring compatible = "fixed-clock"; 127*724ba675SRob Herring }; 128*724ba675SRob Herring 129*724ba675SRob Herring osc2: osc2 { 130*724ba675SRob Herring #clock-cells = <0>; 131*724ba675SRob Herring compatible = "fixed-clock"; 132*724ba675SRob Herring }; 133*724ba675SRob Herring 134*724ba675SRob Herring f2s_periph_ref_clk: f2s_periph_ref_clk { 135*724ba675SRob Herring #clock-cells = <0>; 136*724ba675SRob Herring compatible = "fixed-clock"; 137*724ba675SRob Herring }; 138*724ba675SRob Herring 139*724ba675SRob Herring f2s_sdram_ref_clk: f2s_sdram_ref_clk { 140*724ba675SRob Herring #clock-cells = <0>; 141*724ba675SRob Herring compatible = "fixed-clock"; 142*724ba675SRob Herring }; 143*724ba675SRob Herring 144*724ba675SRob Herring main_pll: main_pll@40 { 145*724ba675SRob Herring #address-cells = <1>; 146*724ba675SRob Herring #size-cells = <0>; 147*724ba675SRob Herring #clock-cells = <0>; 148*724ba675SRob Herring compatible = "altr,socfpga-pll-clock"; 149*724ba675SRob Herring clocks = <&osc1>; 150*724ba675SRob Herring reg = <0x40>; 151*724ba675SRob Herring 152*724ba675SRob Herring mpuclk: mpuclk@48 { 153*724ba675SRob Herring #clock-cells = <0>; 154*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 155*724ba675SRob Herring clocks = <&main_pll>; 156*724ba675SRob Herring div-reg = <0xe0 0 9>; 157*724ba675SRob Herring reg = <0x48>; 158*724ba675SRob Herring }; 159*724ba675SRob Herring 160*724ba675SRob Herring mainclk: mainclk@4c { 161*724ba675SRob Herring #clock-cells = <0>; 162*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 163*724ba675SRob Herring clocks = <&main_pll>; 164*724ba675SRob Herring div-reg = <0xe4 0 9>; 165*724ba675SRob Herring reg = <0x4C>; 166*724ba675SRob Herring }; 167*724ba675SRob Herring 168*724ba675SRob Herring dbg_base_clk: dbg_base_clk@50 { 169*724ba675SRob Herring #clock-cells = <0>; 170*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 171*724ba675SRob Herring clocks = <&main_pll>, <&osc1>; 172*724ba675SRob Herring div-reg = <0xe8 0 9>; 173*724ba675SRob Herring reg = <0x50>; 174*724ba675SRob Herring }; 175*724ba675SRob Herring 176*724ba675SRob Herring main_qspi_clk: main_qspi_clk@54 { 177*724ba675SRob Herring #clock-cells = <0>; 178*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 179*724ba675SRob Herring clocks = <&main_pll>; 180*724ba675SRob Herring reg = <0x54>; 181*724ba675SRob Herring }; 182*724ba675SRob Herring 183*724ba675SRob Herring main_nand_sdmmc_clk: main_nand_sdmmc_clk@58 { 184*724ba675SRob Herring #clock-cells = <0>; 185*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 186*724ba675SRob Herring clocks = <&main_pll>; 187*724ba675SRob Herring reg = <0x58>; 188*724ba675SRob Herring }; 189*724ba675SRob Herring 190*724ba675SRob Herring cfg_h2f_usr0_clk: cfg_h2f_usr0_clk@5c { 191*724ba675SRob Herring #clock-cells = <0>; 192*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 193*724ba675SRob Herring clocks = <&main_pll>; 194*724ba675SRob Herring reg = <0x5C>; 195*724ba675SRob Herring }; 196*724ba675SRob Herring }; 197*724ba675SRob Herring 198*724ba675SRob Herring periph_pll: periph_pll@80 { 199*724ba675SRob Herring #address-cells = <1>; 200*724ba675SRob Herring #size-cells = <0>; 201*724ba675SRob Herring #clock-cells = <0>; 202*724ba675SRob Herring compatible = "altr,socfpga-pll-clock"; 203*724ba675SRob Herring clocks = <&osc1>, <&osc2>, <&f2s_periph_ref_clk>; 204*724ba675SRob Herring reg = <0x80>; 205*724ba675SRob Herring 206*724ba675SRob Herring emac0_clk: emac0_clk@88 { 207*724ba675SRob Herring #clock-cells = <0>; 208*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 209*724ba675SRob Herring clocks = <&periph_pll>; 210*724ba675SRob Herring reg = <0x88>; 211*724ba675SRob Herring }; 212*724ba675SRob Herring 213*724ba675SRob Herring emac1_clk: emac1_clk@8c { 214*724ba675SRob Herring #clock-cells = <0>; 215*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 216*724ba675SRob Herring clocks = <&periph_pll>; 217*724ba675SRob Herring reg = <0x8C>; 218*724ba675SRob Herring }; 219*724ba675SRob Herring 220*724ba675SRob Herring per_qspi_clk: per_qsi_clk@90 { 221*724ba675SRob Herring #clock-cells = <0>; 222*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 223*724ba675SRob Herring clocks = <&periph_pll>; 224*724ba675SRob Herring reg = <0x90>; 225*724ba675SRob Herring }; 226*724ba675SRob Herring 227*724ba675SRob Herring per_nand_mmc_clk: per_nand_mmc_clk@94 { 228*724ba675SRob Herring #clock-cells = <0>; 229*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 230*724ba675SRob Herring clocks = <&periph_pll>; 231*724ba675SRob Herring reg = <0x94>; 232*724ba675SRob Herring }; 233*724ba675SRob Herring 234*724ba675SRob Herring per_base_clk: per_base_clk@98 { 235*724ba675SRob Herring #clock-cells = <0>; 236*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 237*724ba675SRob Herring clocks = <&periph_pll>; 238*724ba675SRob Herring reg = <0x98>; 239*724ba675SRob Herring }; 240*724ba675SRob Herring 241*724ba675SRob Herring h2f_usr1_clk: h2f_usr1_clk@9c { 242*724ba675SRob Herring #clock-cells = <0>; 243*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 244*724ba675SRob Herring clocks = <&periph_pll>; 245*724ba675SRob Herring reg = <0x9C>; 246*724ba675SRob Herring }; 247*724ba675SRob Herring }; 248*724ba675SRob Herring 249*724ba675SRob Herring sdram_pll: sdram_pll@c0 { 250*724ba675SRob Herring #address-cells = <1>; 251*724ba675SRob Herring #size-cells = <0>; 252*724ba675SRob Herring #clock-cells = <0>; 253*724ba675SRob Herring compatible = "altr,socfpga-pll-clock"; 254*724ba675SRob Herring clocks = <&osc1>, <&osc2>, <&f2s_sdram_ref_clk>; 255*724ba675SRob Herring reg = <0xC0>; 256*724ba675SRob Herring 257*724ba675SRob Herring ddr_dqs_clk: ddr_dqs_clk@c8 { 258*724ba675SRob Herring #clock-cells = <0>; 259*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 260*724ba675SRob Herring clocks = <&sdram_pll>; 261*724ba675SRob Herring reg = <0xC8>; 262*724ba675SRob Herring }; 263*724ba675SRob Herring 264*724ba675SRob Herring ddr_2x_dqs_clk: ddr_2x_dqs_clk@cc { 265*724ba675SRob Herring #clock-cells = <0>; 266*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 267*724ba675SRob Herring clocks = <&sdram_pll>; 268*724ba675SRob Herring reg = <0xCC>; 269*724ba675SRob Herring }; 270*724ba675SRob Herring 271*724ba675SRob Herring ddr_dq_clk: ddr_dq_clk@d0 { 272*724ba675SRob Herring #clock-cells = <0>; 273*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 274*724ba675SRob Herring clocks = <&sdram_pll>; 275*724ba675SRob Herring reg = <0xD0>; 276*724ba675SRob Herring }; 277*724ba675SRob Herring 278*724ba675SRob Herring h2f_usr2_clk: h2f_usr2_clk@d4 { 279*724ba675SRob Herring #clock-cells = <0>; 280*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 281*724ba675SRob Herring clocks = <&sdram_pll>; 282*724ba675SRob Herring reg = <0xD4>; 283*724ba675SRob Herring }; 284*724ba675SRob Herring }; 285*724ba675SRob Herring 286*724ba675SRob Herring mpu_periph_clk: mpu_periph_clk { 287*724ba675SRob Herring #clock-cells = <0>; 288*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 289*724ba675SRob Herring clocks = <&mpuclk>; 290*724ba675SRob Herring fixed-divider = <4>; 291*724ba675SRob Herring }; 292*724ba675SRob Herring 293*724ba675SRob Herring mpu_l2_ram_clk: mpu_l2_ram_clk { 294*724ba675SRob Herring #clock-cells = <0>; 295*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 296*724ba675SRob Herring clocks = <&mpuclk>; 297*724ba675SRob Herring fixed-divider = <2>; 298*724ba675SRob Herring }; 299*724ba675SRob Herring 300*724ba675SRob Herring l4_main_clk: l4_main_clk { 301*724ba675SRob Herring #clock-cells = <0>; 302*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 303*724ba675SRob Herring clocks = <&mainclk>; 304*724ba675SRob Herring clk-gate = <0x60 0>; 305*724ba675SRob Herring }; 306*724ba675SRob Herring 307*724ba675SRob Herring l3_main_clk: l3_main_clk { 308*724ba675SRob Herring #clock-cells = <0>; 309*724ba675SRob Herring compatible = "altr,socfpga-perip-clk"; 310*724ba675SRob Herring clocks = <&mainclk>; 311*724ba675SRob Herring fixed-divider = <1>; 312*724ba675SRob Herring }; 313*724ba675SRob Herring 314*724ba675SRob Herring l3_mp_clk: l3_mp_clk { 315*724ba675SRob Herring #clock-cells = <0>; 316*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 317*724ba675SRob Herring clocks = <&mainclk>; 318*724ba675SRob Herring div-reg = <0x64 0 2>; 319*724ba675SRob Herring clk-gate = <0x60 1>; 320*724ba675SRob Herring }; 321*724ba675SRob Herring 322*724ba675SRob Herring l3_sp_clk: l3_sp_clk { 323*724ba675SRob Herring #clock-cells = <0>; 324*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 325*724ba675SRob Herring clocks = <&l3_mp_clk>; 326*724ba675SRob Herring div-reg = <0x64 2 2>; 327*724ba675SRob Herring }; 328*724ba675SRob Herring 329*724ba675SRob Herring l4_mp_clk: l4_mp_clk { 330*724ba675SRob Herring #clock-cells = <0>; 331*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 332*724ba675SRob Herring clocks = <&mainclk>, <&per_base_clk>; 333*724ba675SRob Herring div-reg = <0x64 4 3>; 334*724ba675SRob Herring clk-gate = <0x60 2>; 335*724ba675SRob Herring }; 336*724ba675SRob Herring 337*724ba675SRob Herring l4_sp_clk: l4_sp_clk { 338*724ba675SRob Herring #clock-cells = <0>; 339*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 340*724ba675SRob Herring clocks = <&mainclk>, <&per_base_clk>; 341*724ba675SRob Herring div-reg = <0x64 7 3>; 342*724ba675SRob Herring clk-gate = <0x60 3>; 343*724ba675SRob Herring }; 344*724ba675SRob Herring 345*724ba675SRob Herring dbg_at_clk: dbg_at_clk { 346*724ba675SRob Herring #clock-cells = <0>; 347*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 348*724ba675SRob Herring clocks = <&dbg_base_clk>; 349*724ba675SRob Herring div-reg = <0x68 0 2>; 350*724ba675SRob Herring clk-gate = <0x60 4>; 351*724ba675SRob Herring }; 352*724ba675SRob Herring 353*724ba675SRob Herring dbg_clk: dbg_clk { 354*724ba675SRob Herring #clock-cells = <0>; 355*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 356*724ba675SRob Herring clocks = <&dbg_at_clk>; 357*724ba675SRob Herring div-reg = <0x68 2 2>; 358*724ba675SRob Herring clk-gate = <0x60 5>; 359*724ba675SRob Herring }; 360*724ba675SRob Herring 361*724ba675SRob Herring dbg_trace_clk: dbg_trace_clk { 362*724ba675SRob Herring #clock-cells = <0>; 363*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 364*724ba675SRob Herring clocks = <&dbg_base_clk>; 365*724ba675SRob Herring div-reg = <0x6C 0 3>; 366*724ba675SRob Herring clk-gate = <0x60 6>; 367*724ba675SRob Herring }; 368*724ba675SRob Herring 369*724ba675SRob Herring dbg_timer_clk: dbg_timer_clk { 370*724ba675SRob Herring #clock-cells = <0>; 371*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 372*724ba675SRob Herring clocks = <&dbg_base_clk>; 373*724ba675SRob Herring clk-gate = <0x60 7>; 374*724ba675SRob Herring }; 375*724ba675SRob Herring 376*724ba675SRob Herring cfg_clk: cfg_clk { 377*724ba675SRob Herring #clock-cells = <0>; 378*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 379*724ba675SRob Herring clocks = <&cfg_h2f_usr0_clk>; 380*724ba675SRob Herring clk-gate = <0x60 8>; 381*724ba675SRob Herring }; 382*724ba675SRob Herring 383*724ba675SRob Herring h2f_user0_clk: h2f_user0_clk { 384*724ba675SRob Herring #clock-cells = <0>; 385*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 386*724ba675SRob Herring clocks = <&cfg_h2f_usr0_clk>; 387*724ba675SRob Herring clk-gate = <0x60 9>; 388*724ba675SRob Herring }; 389*724ba675SRob Herring 390*724ba675SRob Herring emac_0_clk: emac_0_clk { 391*724ba675SRob Herring #clock-cells = <0>; 392*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 393*724ba675SRob Herring clocks = <&emac0_clk>; 394*724ba675SRob Herring clk-gate = <0xa0 0>; 395*724ba675SRob Herring }; 396*724ba675SRob Herring 397*724ba675SRob Herring emac_1_clk: emac_1_clk { 398*724ba675SRob Herring #clock-cells = <0>; 399*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 400*724ba675SRob Herring clocks = <&emac1_clk>; 401*724ba675SRob Herring clk-gate = <0xa0 1>; 402*724ba675SRob Herring }; 403*724ba675SRob Herring 404*724ba675SRob Herring usb_mp_clk: usb_mp_clk { 405*724ba675SRob Herring #clock-cells = <0>; 406*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 407*724ba675SRob Herring clocks = <&per_base_clk>; 408*724ba675SRob Herring clk-gate = <0xa0 2>; 409*724ba675SRob Herring div-reg = <0xa4 0 3>; 410*724ba675SRob Herring }; 411*724ba675SRob Herring 412*724ba675SRob Herring spi_m_clk: spi_m_clk { 413*724ba675SRob Herring #clock-cells = <0>; 414*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 415*724ba675SRob Herring clocks = <&per_base_clk>; 416*724ba675SRob Herring clk-gate = <0xa0 3>; 417*724ba675SRob Herring div-reg = <0xa4 3 3>; 418*724ba675SRob Herring }; 419*724ba675SRob Herring 420*724ba675SRob Herring can0_clk: can0_clk { 421*724ba675SRob Herring #clock-cells = <0>; 422*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 423*724ba675SRob Herring clocks = <&per_base_clk>; 424*724ba675SRob Herring clk-gate = <0xa0 4>; 425*724ba675SRob Herring div-reg = <0xa4 6 3>; 426*724ba675SRob Herring }; 427*724ba675SRob Herring 428*724ba675SRob Herring can1_clk: can1_clk { 429*724ba675SRob Herring #clock-cells = <0>; 430*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 431*724ba675SRob Herring clocks = <&per_base_clk>; 432*724ba675SRob Herring clk-gate = <0xa0 5>; 433*724ba675SRob Herring div-reg = <0xa4 9 3>; 434*724ba675SRob Herring }; 435*724ba675SRob Herring 436*724ba675SRob Herring gpio_db_clk: gpio_db_clk { 437*724ba675SRob Herring #clock-cells = <0>; 438*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 439*724ba675SRob Herring clocks = <&per_base_clk>; 440*724ba675SRob Herring clk-gate = <0xa0 6>; 441*724ba675SRob Herring div-reg = <0xa8 0 24>; 442*724ba675SRob Herring }; 443*724ba675SRob Herring 444*724ba675SRob Herring h2f_user1_clk: h2f_user1_clk { 445*724ba675SRob Herring #clock-cells = <0>; 446*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 447*724ba675SRob Herring clocks = <&h2f_usr1_clk>; 448*724ba675SRob Herring clk-gate = <0xa0 7>; 449*724ba675SRob Herring }; 450*724ba675SRob Herring 451*724ba675SRob Herring sdmmc_clk: sdmmc_clk { 452*724ba675SRob Herring #clock-cells = <0>; 453*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 454*724ba675SRob Herring clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; 455*724ba675SRob Herring clk-gate = <0xa0 8>; 456*724ba675SRob Herring }; 457*724ba675SRob Herring 458*724ba675SRob Herring sdmmc_clk_divided: sdmmc_clk_divided { 459*724ba675SRob Herring #clock-cells = <0>; 460*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 461*724ba675SRob Herring clocks = <&sdmmc_clk>; 462*724ba675SRob Herring clk-gate = <0xa0 8>; 463*724ba675SRob Herring fixed-divider = <4>; 464*724ba675SRob Herring }; 465*724ba675SRob Herring 466*724ba675SRob Herring nand_x_clk: nand_x_clk { 467*724ba675SRob Herring #clock-cells = <0>; 468*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 469*724ba675SRob Herring clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; 470*724ba675SRob Herring clk-gate = <0xa0 9>; 471*724ba675SRob Herring }; 472*724ba675SRob Herring 473*724ba675SRob Herring nand_ecc_clk: nand_ecc_clk { 474*724ba675SRob Herring #clock-cells = <0>; 475*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 476*724ba675SRob Herring clocks = <&nand_x_clk>; 477*724ba675SRob Herring clk-gate = <0xa0 9>; 478*724ba675SRob Herring }; 479*724ba675SRob Herring 480*724ba675SRob Herring nand_clk: nand_clk { 481*724ba675SRob Herring #clock-cells = <0>; 482*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 483*724ba675SRob Herring clocks = <&nand_x_clk>; 484*724ba675SRob Herring clk-gate = <0xa0 10>; 485*724ba675SRob Herring fixed-divider = <4>; 486*724ba675SRob Herring }; 487*724ba675SRob Herring 488*724ba675SRob Herring qspi_clk: qspi_clk { 489*724ba675SRob Herring #clock-cells = <0>; 490*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 491*724ba675SRob Herring clocks = <&f2s_periph_ref_clk>, <&main_qspi_clk>, <&per_qspi_clk>; 492*724ba675SRob Herring clk-gate = <0xa0 11>; 493*724ba675SRob Herring }; 494*724ba675SRob Herring 495*724ba675SRob Herring ddr_dqs_clk_gate: ddr_dqs_clk_gate { 496*724ba675SRob Herring #clock-cells = <0>; 497*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 498*724ba675SRob Herring clocks = <&ddr_dqs_clk>; 499*724ba675SRob Herring clk-gate = <0xd8 0>; 500*724ba675SRob Herring }; 501*724ba675SRob Herring 502*724ba675SRob Herring ddr_2x_dqs_clk_gate: ddr_2x_dqs_clk_gate { 503*724ba675SRob Herring #clock-cells = <0>; 504*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 505*724ba675SRob Herring clocks = <&ddr_2x_dqs_clk>; 506*724ba675SRob Herring clk-gate = <0xd8 1>; 507*724ba675SRob Herring }; 508*724ba675SRob Herring 509*724ba675SRob Herring ddr_dq_clk_gate: ddr_dq_clk_gate { 510*724ba675SRob Herring #clock-cells = <0>; 511*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 512*724ba675SRob Herring clocks = <&ddr_dq_clk>; 513*724ba675SRob Herring clk-gate = <0xd8 2>; 514*724ba675SRob Herring }; 515*724ba675SRob Herring 516*724ba675SRob Herring h2f_user2_clk: h2f_user2_clk { 517*724ba675SRob Herring #clock-cells = <0>; 518*724ba675SRob Herring compatible = "altr,socfpga-gate-clk"; 519*724ba675SRob Herring clocks = <&h2f_usr2_clk>; 520*724ba675SRob Herring clk-gate = <0xd8 3>; 521*724ba675SRob Herring }; 522*724ba675SRob Herring 523*724ba675SRob Herring }; 524*724ba675SRob Herring }; 525*724ba675SRob Herring 526*724ba675SRob Herring fpga_bridge0: fpga_bridge@ff400000 { 527*724ba675SRob Herring compatible = "altr,socfpga-lwhps2fpga-bridge"; 528*724ba675SRob Herring reg = <0xff400000 0x100000>; 529*724ba675SRob Herring resets = <&rst LWHPS2FPGA_RESET>; 530*724ba675SRob Herring clocks = <&l4_main_clk>; 531*724ba675SRob Herring status = "disabled"; 532*724ba675SRob Herring }; 533*724ba675SRob Herring 534*724ba675SRob Herring fpga_bridge1: fpga_bridge@ff500000 { 535*724ba675SRob Herring compatible = "altr,socfpga-hps2fpga-bridge"; 536*724ba675SRob Herring reg = <0xff500000 0x10000>; 537*724ba675SRob Herring resets = <&rst HPS2FPGA_RESET>; 538*724ba675SRob Herring clocks = <&l4_main_clk>; 539*724ba675SRob Herring status = "disabled"; 540*724ba675SRob Herring }; 541*724ba675SRob Herring 542*724ba675SRob Herring fpga_bridge2: fpga-bridge@ff600000 { 543*724ba675SRob Herring compatible = "altr,socfpga-fpga2hps-bridge"; 544*724ba675SRob Herring reg = <0xff600000 0x100000>; 545*724ba675SRob Herring resets = <&rst FPGA2HPS_RESET>; 546*724ba675SRob Herring clocks = <&l4_main_clk>; 547*724ba675SRob Herring status = "disabled"; 548*724ba675SRob Herring }; 549*724ba675SRob Herring 550*724ba675SRob Herring fpga_bridge3: fpga-bridge@ffc25080 { 551*724ba675SRob Herring compatible = "altr,socfpga-fpga2sdram-bridge"; 552*724ba675SRob Herring reg = <0xffc25080 0x4>; 553*724ba675SRob Herring status = "disabled"; 554*724ba675SRob Herring }; 555*724ba675SRob Herring 556*724ba675SRob Herring fpgamgr0: fpgamgr@ff706000 { 557*724ba675SRob Herring compatible = "altr,socfpga-fpga-mgr"; 558*724ba675SRob Herring reg = <0xff706000 0x1000 559*724ba675SRob Herring 0xffb90000 0x4>; 560*724ba675SRob Herring interrupts = <0 175 4>; 561*724ba675SRob Herring }; 562*724ba675SRob Herring 563*724ba675SRob Herring socfpga_axi_setup: stmmac-axi-config { 564*724ba675SRob Herring snps,wr_osr_lmt = <0xf>; 565*724ba675SRob Herring snps,rd_osr_lmt = <0xf>; 566*724ba675SRob Herring snps,blen = <0 0 0 0 16 0 0>; 567*724ba675SRob Herring }; 568*724ba675SRob Herring 569*724ba675SRob Herring gmac0: ethernet@ff700000 { 570*724ba675SRob Herring compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 571*724ba675SRob Herring altr,sysmgr-syscon = <&sysmgr 0x60 0>; 572*724ba675SRob Herring reg = <0xff700000 0x2000>; 573*724ba675SRob Herring interrupts = <0 115 4>; 574*724ba675SRob Herring interrupt-names = "macirq"; 575*724ba675SRob Herring mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */ 576*724ba675SRob Herring clocks = <&emac_0_clk>; 577*724ba675SRob Herring clock-names = "stmmaceth"; 578*724ba675SRob Herring resets = <&rst EMAC0_RESET>; 579*724ba675SRob Herring reset-names = "stmmaceth"; 580*724ba675SRob Herring snps,multicast-filter-bins = <256>; 581*724ba675SRob Herring snps,perfect-filter-entries = <128>; 582*724ba675SRob Herring tx-fifo-depth = <4096>; 583*724ba675SRob Herring rx-fifo-depth = <4096>; 584*724ba675SRob Herring snps,axi-config = <&socfpga_axi_setup>; 585*724ba675SRob Herring status = "disabled"; 586*724ba675SRob Herring }; 587*724ba675SRob Herring 588*724ba675SRob Herring gmac1: ethernet@ff702000 { 589*724ba675SRob Herring compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 590*724ba675SRob Herring altr,sysmgr-syscon = <&sysmgr 0x60 2>; 591*724ba675SRob Herring reg = <0xff702000 0x2000>; 592*724ba675SRob Herring interrupts = <0 120 4>; 593*724ba675SRob Herring interrupt-names = "macirq"; 594*724ba675SRob Herring mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */ 595*724ba675SRob Herring clocks = <&emac_1_clk>; 596*724ba675SRob Herring clock-names = "stmmaceth"; 597*724ba675SRob Herring resets = <&rst EMAC1_RESET>; 598*724ba675SRob Herring reset-names = "stmmaceth"; 599*724ba675SRob Herring snps,multicast-filter-bins = <256>; 600*724ba675SRob Herring snps,perfect-filter-entries = <128>; 601*724ba675SRob Herring tx-fifo-depth = <4096>; 602*724ba675SRob Herring rx-fifo-depth = <4096>; 603*724ba675SRob Herring snps,axi-config = <&socfpga_axi_setup>; 604*724ba675SRob Herring status = "disabled"; 605*724ba675SRob Herring }; 606*724ba675SRob Herring 607*724ba675SRob Herring gpio0: gpio@ff708000 { 608*724ba675SRob Herring #address-cells = <1>; 609*724ba675SRob Herring #size-cells = <0>; 610*724ba675SRob Herring compatible = "snps,dw-apb-gpio"; 611*724ba675SRob Herring reg = <0xff708000 0x1000>; 612*724ba675SRob Herring clocks = <&l4_mp_clk>; 613*724ba675SRob Herring resets = <&rst GPIO0_RESET>; 614*724ba675SRob Herring status = "disabled"; 615*724ba675SRob Herring 616*724ba675SRob Herring porta: gpio-controller@0 { 617*724ba675SRob Herring compatible = "snps,dw-apb-gpio-port"; 618*724ba675SRob Herring gpio-controller; 619*724ba675SRob Herring #gpio-cells = <2>; 620*724ba675SRob Herring snps,nr-gpios = <29>; 621*724ba675SRob Herring reg = <0>; 622*724ba675SRob Herring interrupt-controller; 623*724ba675SRob Herring #interrupt-cells = <2>; 624*724ba675SRob Herring interrupts = <0 164 4>; 625*724ba675SRob Herring }; 626*724ba675SRob Herring }; 627*724ba675SRob Herring 628*724ba675SRob Herring gpio1: gpio@ff709000 { 629*724ba675SRob Herring #address-cells = <1>; 630*724ba675SRob Herring #size-cells = <0>; 631*724ba675SRob Herring compatible = "snps,dw-apb-gpio"; 632*724ba675SRob Herring reg = <0xff709000 0x1000>; 633*724ba675SRob Herring clocks = <&l4_mp_clk>; 634*724ba675SRob Herring resets = <&rst GPIO1_RESET>; 635*724ba675SRob Herring status = "disabled"; 636*724ba675SRob Herring 637*724ba675SRob Herring portb: gpio-controller@0 { 638*724ba675SRob Herring compatible = "snps,dw-apb-gpio-port"; 639*724ba675SRob Herring gpio-controller; 640*724ba675SRob Herring #gpio-cells = <2>; 641*724ba675SRob Herring snps,nr-gpios = <29>; 642*724ba675SRob Herring reg = <0>; 643*724ba675SRob Herring interrupt-controller; 644*724ba675SRob Herring #interrupt-cells = <2>; 645*724ba675SRob Herring interrupts = <0 165 4>; 646*724ba675SRob Herring }; 647*724ba675SRob Herring }; 648*724ba675SRob Herring 649*724ba675SRob Herring gpio2: gpio@ff70a000 { 650*724ba675SRob Herring #address-cells = <1>; 651*724ba675SRob Herring #size-cells = <0>; 652*724ba675SRob Herring compatible = "snps,dw-apb-gpio"; 653*724ba675SRob Herring reg = <0xff70a000 0x1000>; 654*724ba675SRob Herring clocks = <&l4_mp_clk>; 655*724ba675SRob Herring resets = <&rst GPIO2_RESET>; 656*724ba675SRob Herring status = "disabled"; 657*724ba675SRob Herring 658*724ba675SRob Herring portc: gpio-controller@0 { 659*724ba675SRob Herring compatible = "snps,dw-apb-gpio-port"; 660*724ba675SRob Herring gpio-controller; 661*724ba675SRob Herring #gpio-cells = <2>; 662*724ba675SRob Herring snps,nr-gpios = <27>; 663*724ba675SRob Herring reg = <0>; 664*724ba675SRob Herring interrupt-controller; 665*724ba675SRob Herring #interrupt-cells = <2>; 666*724ba675SRob Herring interrupts = <0 166 4>; 667*724ba675SRob Herring }; 668*724ba675SRob Herring }; 669*724ba675SRob Herring 670*724ba675SRob Herring i2c0: i2c@ffc04000 { 671*724ba675SRob Herring #address-cells = <1>; 672*724ba675SRob Herring #size-cells = <0>; 673*724ba675SRob Herring compatible = "snps,designware-i2c"; 674*724ba675SRob Herring reg = <0xffc04000 0x1000>; 675*724ba675SRob Herring resets = <&rst I2C0_RESET>; 676*724ba675SRob Herring clocks = <&l4_sp_clk>; 677*724ba675SRob Herring interrupts = <0 158 0x4>; 678*724ba675SRob Herring status = "disabled"; 679*724ba675SRob Herring }; 680*724ba675SRob Herring 681*724ba675SRob Herring i2c1: i2c@ffc05000 { 682*724ba675SRob Herring #address-cells = <1>; 683*724ba675SRob Herring #size-cells = <0>; 684*724ba675SRob Herring compatible = "snps,designware-i2c"; 685*724ba675SRob Herring reg = <0xffc05000 0x1000>; 686*724ba675SRob Herring resets = <&rst I2C1_RESET>; 687*724ba675SRob Herring clocks = <&l4_sp_clk>; 688*724ba675SRob Herring interrupts = <0 159 0x4>; 689*724ba675SRob Herring status = "disabled"; 690*724ba675SRob Herring }; 691*724ba675SRob Herring 692*724ba675SRob Herring i2c2: i2c@ffc06000 { 693*724ba675SRob Herring #address-cells = <1>; 694*724ba675SRob Herring #size-cells = <0>; 695*724ba675SRob Herring compatible = "snps,designware-i2c"; 696*724ba675SRob Herring reg = <0xffc06000 0x1000>; 697*724ba675SRob Herring resets = <&rst I2C2_RESET>; 698*724ba675SRob Herring clocks = <&l4_sp_clk>; 699*724ba675SRob Herring interrupts = <0 160 0x4>; 700*724ba675SRob Herring status = "disabled"; 701*724ba675SRob Herring }; 702*724ba675SRob Herring 703*724ba675SRob Herring i2c3: i2c@ffc07000 { 704*724ba675SRob Herring #address-cells = <1>; 705*724ba675SRob Herring #size-cells = <0>; 706*724ba675SRob Herring compatible = "snps,designware-i2c"; 707*724ba675SRob Herring reg = <0xffc07000 0x1000>; 708*724ba675SRob Herring resets = <&rst I2C3_RESET>; 709*724ba675SRob Herring clocks = <&l4_sp_clk>; 710*724ba675SRob Herring interrupts = <0 161 0x4>; 711*724ba675SRob Herring status = "disabled"; 712*724ba675SRob Herring }; 713*724ba675SRob Herring 714*724ba675SRob Herring eccmgr: eccmgr { 715*724ba675SRob Herring compatible = "altr,socfpga-ecc-manager"; 716*724ba675SRob Herring #address-cells = <1>; 717*724ba675SRob Herring #size-cells = <1>; 718*724ba675SRob Herring ranges; 719*724ba675SRob Herring 720*724ba675SRob Herring l2-ecc@ffd08140 { 721*724ba675SRob Herring compatible = "altr,socfpga-l2-ecc"; 722*724ba675SRob Herring reg = <0xffd08140 0x4>; 723*724ba675SRob Herring interrupts = <0 36 1>, <0 37 1>; 724*724ba675SRob Herring }; 725*724ba675SRob Herring 726*724ba675SRob Herring ocram-ecc@ffd08144 { 727*724ba675SRob Herring compatible = "altr,socfpga-ocram-ecc"; 728*724ba675SRob Herring reg = <0xffd08144 0x4>; 729*724ba675SRob Herring iram = <&ocram>; 730*724ba675SRob Herring interrupts = <0 178 1>, <0 179 1>; 731*724ba675SRob Herring }; 732*724ba675SRob Herring }; 733*724ba675SRob Herring 734*724ba675SRob Herring L2: cache-controller@fffef000 { 735*724ba675SRob Herring compatible = "arm,pl310-cache"; 736*724ba675SRob Herring reg = <0xfffef000 0x1000>; 737*724ba675SRob Herring interrupts = <0 38 0x04>; 738*724ba675SRob Herring cache-unified; 739*724ba675SRob Herring cache-level = <2>; 740*724ba675SRob Herring arm,tag-latency = <1 1 1>; 741*724ba675SRob Herring arm,data-latency = <2 1 1>; 742*724ba675SRob Herring prefetch-data = <1>; 743*724ba675SRob Herring prefetch-instr = <1>; 744*724ba675SRob Herring arm,shared-override; 745*724ba675SRob Herring arm,double-linefill = <1>; 746*724ba675SRob Herring arm,double-linefill-incr = <0>; 747*724ba675SRob Herring arm,double-linefill-wrap = <1>; 748*724ba675SRob Herring arm,prefetch-drop = <0>; 749*724ba675SRob Herring arm,prefetch-offset = <7>; 750*724ba675SRob Herring }; 751*724ba675SRob Herring 752*724ba675SRob Herring l3regs@ff800000 { 753*724ba675SRob Herring compatible = "altr,l3regs", "syscon"; 754*724ba675SRob Herring reg = <0xff800000 0x1000>; 755*724ba675SRob Herring }; 756*724ba675SRob Herring 757*724ba675SRob Herring mmc: mmc@ff704000 { 758*724ba675SRob Herring compatible = "altr,socfpga-dw-mshc"; 759*724ba675SRob Herring reg = <0xff704000 0x1000>; 760*724ba675SRob Herring interrupts = <0 139 4>; 761*724ba675SRob Herring fifo-depth = <0x400>; 762*724ba675SRob Herring #address-cells = <1>; 763*724ba675SRob Herring #size-cells = <0>; 764*724ba675SRob Herring clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>; 765*724ba675SRob Herring clock-names = "biu", "ciu"; 766*724ba675SRob Herring resets = <&rst SDMMC_RESET>; 767*724ba675SRob Herring altr,sysmgr-syscon = <&sysmgr 0x108 3>; 768*724ba675SRob Herring status = "disabled"; 769*724ba675SRob Herring }; 770*724ba675SRob Herring 771*724ba675SRob Herring nand0: nand@ff900000 { 772*724ba675SRob Herring #address-cells = <0x1>; 773*724ba675SRob Herring #size-cells = <0x0>; 774*724ba675SRob Herring compatible = "altr,socfpga-denali-nand"; 775*724ba675SRob Herring reg = <0xff900000 0x100000>, 776*724ba675SRob Herring <0xffb80000 0x10000>; 777*724ba675SRob Herring reg-names = "nand_data", "denali_reg"; 778*724ba675SRob Herring interrupts = <0x0 0x90 0x4>; 779*724ba675SRob Herring clocks = <&nand_clk>, <&nand_x_clk>, <&nand_ecc_clk>; 780*724ba675SRob Herring clock-names = "nand", "nand_x", "ecc"; 781*724ba675SRob Herring resets = <&rst NAND_RESET>; 782*724ba675SRob Herring status = "disabled"; 783*724ba675SRob Herring }; 784*724ba675SRob Herring 785*724ba675SRob Herring ocram: sram@ffff0000 { 786*724ba675SRob Herring compatible = "mmio-sram"; 787*724ba675SRob Herring reg = <0xffff0000 0x10000>; 788*724ba675SRob Herring }; 789*724ba675SRob Herring 790*724ba675SRob Herring qspi: spi@ff705000 { 791*724ba675SRob Herring compatible = "intel,socfpga-qspi", "cdns,qspi-nor"; 792*724ba675SRob Herring #address-cells = <1>; 793*724ba675SRob Herring #size-cells = <0>; 794*724ba675SRob Herring reg = <0xff705000 0x1000>, 795*724ba675SRob Herring <0xffa00000 0x1000>; 796*724ba675SRob Herring interrupts = <0 151 4>; 797*724ba675SRob Herring cdns,fifo-depth = <128>; 798*724ba675SRob Herring cdns,fifo-width = <4>; 799*724ba675SRob Herring cdns,trigger-address = <0x00000000>; 800*724ba675SRob Herring clocks = <&qspi_clk>; 801*724ba675SRob Herring resets = <&rst QSPI_RESET>; 802*724ba675SRob Herring status = "disabled"; 803*724ba675SRob Herring }; 804*724ba675SRob Herring 805*724ba675SRob Herring rst: rstmgr@ffd05000 { 806*724ba675SRob Herring #reset-cells = <1>; 807*724ba675SRob Herring compatible = "altr,rst-mgr"; 808*724ba675SRob Herring reg = <0xffd05000 0x1000>; 809*724ba675SRob Herring altr,modrst-offset = <0x10>; 810*724ba675SRob Herring }; 811*724ba675SRob Herring 812*724ba675SRob Herring scu: snoop-control-unit@fffec000 { 813*724ba675SRob Herring compatible = "arm,cortex-a9-scu"; 814*724ba675SRob Herring reg = <0xfffec000 0x100>; 815*724ba675SRob Herring }; 816*724ba675SRob Herring 817*724ba675SRob Herring sdr: sdr@ffc25000 { 818*724ba675SRob Herring compatible = "altr,sdr-ctl", "syscon"; 819*724ba675SRob Herring reg = <0xffc25000 0x1000>; 820*724ba675SRob Herring resets = <&rst SDR_RESET>; 821*724ba675SRob Herring }; 822*724ba675SRob Herring 823*724ba675SRob Herring sdramedac { 824*724ba675SRob Herring compatible = "altr,sdram-edac"; 825*724ba675SRob Herring altr,sdr-syscon = <&sdr>; 826*724ba675SRob Herring interrupts = <0 39 4>; 827*724ba675SRob Herring }; 828*724ba675SRob Herring 829*724ba675SRob Herring spi0: spi@fff00000 { 830*724ba675SRob Herring compatible = "snps,dw-apb-ssi"; 831*724ba675SRob Herring #address-cells = <1>; 832*724ba675SRob Herring #size-cells = <0>; 833*724ba675SRob Herring reg = <0xfff00000 0x1000>; 834*724ba675SRob Herring interrupts = <0 154 4>; 835*724ba675SRob Herring num-cs = <4>; 836*724ba675SRob Herring clocks = <&spi_m_clk>; 837*724ba675SRob Herring resets = <&rst SPIM0_RESET>; 838*724ba675SRob Herring reset-names = "spi"; 839*724ba675SRob Herring status = "disabled"; 840*724ba675SRob Herring }; 841*724ba675SRob Herring 842*724ba675SRob Herring spi1: spi@fff01000 { 843*724ba675SRob Herring compatible = "snps,dw-apb-ssi"; 844*724ba675SRob Herring #address-cells = <1>; 845*724ba675SRob Herring #size-cells = <0>; 846*724ba675SRob Herring reg = <0xfff01000 0x1000>; 847*724ba675SRob Herring interrupts = <0 155 4>; 848*724ba675SRob Herring num-cs = <4>; 849*724ba675SRob Herring clocks = <&spi_m_clk>; 850*724ba675SRob Herring resets = <&rst SPIM1_RESET>; 851*724ba675SRob Herring reset-names = "spi"; 852*724ba675SRob Herring status = "disabled"; 853*724ba675SRob Herring }; 854*724ba675SRob Herring 855*724ba675SRob Herring sysmgr: sysmgr@ffd08000 { 856*724ba675SRob Herring compatible = "altr,sys-mgr", "syscon"; 857*724ba675SRob Herring reg = <0xffd08000 0x4000>; 858*724ba675SRob Herring }; 859*724ba675SRob Herring 860*724ba675SRob Herring /* Local timer */ 861*724ba675SRob Herring timer@fffec600 { 862*724ba675SRob Herring compatible = "arm,cortex-a9-twd-timer"; 863*724ba675SRob Herring reg = <0xfffec600 0x100>; 864*724ba675SRob Herring interrupts = <1 13 0xf01>; 865*724ba675SRob Herring clocks = <&mpu_periph_clk>; 866*724ba675SRob Herring }; 867*724ba675SRob Herring 868*724ba675SRob Herring timer0: timer0@ffc08000 { 869*724ba675SRob Herring compatible = "snps,dw-apb-timer"; 870*724ba675SRob Herring interrupts = <0 167 4>; 871*724ba675SRob Herring reg = <0xffc08000 0x1000>; 872*724ba675SRob Herring clocks = <&l4_sp_clk>; 873*724ba675SRob Herring clock-names = "timer"; 874*724ba675SRob Herring resets = <&rst SPTIMER0_RESET>; 875*724ba675SRob Herring reset-names = "timer"; 876*724ba675SRob Herring }; 877*724ba675SRob Herring 878*724ba675SRob Herring timer1: timer1@ffc09000 { 879*724ba675SRob Herring compatible = "snps,dw-apb-timer"; 880*724ba675SRob Herring interrupts = <0 168 4>; 881*724ba675SRob Herring reg = <0xffc09000 0x1000>; 882*724ba675SRob Herring clocks = <&l4_sp_clk>; 883*724ba675SRob Herring clock-names = "timer"; 884*724ba675SRob Herring resets = <&rst SPTIMER1_RESET>; 885*724ba675SRob Herring reset-names = "timer"; 886*724ba675SRob Herring }; 887*724ba675SRob Herring 888*724ba675SRob Herring timer2: timer2@ffd00000 { 889*724ba675SRob Herring compatible = "snps,dw-apb-timer"; 890*724ba675SRob Herring interrupts = <0 169 4>; 891*724ba675SRob Herring reg = <0xffd00000 0x1000>; 892*724ba675SRob Herring clocks = <&osc1>; 893*724ba675SRob Herring clock-names = "timer"; 894*724ba675SRob Herring resets = <&rst OSC1TIMER0_RESET>; 895*724ba675SRob Herring reset-names = "timer"; 896*724ba675SRob Herring }; 897*724ba675SRob Herring 898*724ba675SRob Herring timer3: timer3@ffd01000 { 899*724ba675SRob Herring compatible = "snps,dw-apb-timer"; 900*724ba675SRob Herring interrupts = <0 170 4>; 901*724ba675SRob Herring reg = <0xffd01000 0x1000>; 902*724ba675SRob Herring clocks = <&osc1>; 903*724ba675SRob Herring clock-names = "timer"; 904*724ba675SRob Herring resets = <&rst OSC1TIMER1_RESET>; 905*724ba675SRob Herring reset-names = "timer"; 906*724ba675SRob Herring }; 907*724ba675SRob Herring 908*724ba675SRob Herring uart0: serial@ffc02000 { 909*724ba675SRob Herring compatible = "snps,dw-apb-uart"; 910*724ba675SRob Herring reg = <0xffc02000 0x1000>; 911*724ba675SRob Herring interrupts = <0 162 4>; 912*724ba675SRob Herring reg-shift = <2>; 913*724ba675SRob Herring reg-io-width = <4>; 914*724ba675SRob Herring clocks = <&l4_sp_clk>; 915*724ba675SRob Herring dmas = <&pdma 28>, 916*724ba675SRob Herring <&pdma 29>; 917*724ba675SRob Herring dma-names = "tx", "rx"; 918*724ba675SRob Herring resets = <&rst UART0_RESET>; 919*724ba675SRob Herring }; 920*724ba675SRob Herring 921*724ba675SRob Herring uart1: serial@ffc03000 { 922*724ba675SRob Herring compatible = "snps,dw-apb-uart"; 923*724ba675SRob Herring reg = <0xffc03000 0x1000>; 924*724ba675SRob Herring interrupts = <0 163 4>; 925*724ba675SRob Herring reg-shift = <2>; 926*724ba675SRob Herring reg-io-width = <4>; 927*724ba675SRob Herring clocks = <&l4_sp_clk>; 928*724ba675SRob Herring dmas = <&pdma 30>, 929*724ba675SRob Herring <&pdma 31>; 930*724ba675SRob Herring dma-names = "tx", "rx"; 931*724ba675SRob Herring resets = <&rst UART1_RESET>; 932*724ba675SRob Herring }; 933*724ba675SRob Herring 934*724ba675SRob Herring usbphy0: usbphy { 935*724ba675SRob Herring #phy-cells = <0>; 936*724ba675SRob Herring compatible = "usb-nop-xceiv"; 937*724ba675SRob Herring status = "okay"; 938*724ba675SRob Herring }; 939*724ba675SRob Herring 940*724ba675SRob Herring usb0: usb@ffb00000 { 941*724ba675SRob Herring compatible = "snps,dwc2"; 942*724ba675SRob Herring reg = <0xffb00000 0xffff>; 943*724ba675SRob Herring interrupts = <0 125 4>; 944*724ba675SRob Herring clocks = <&usb_mp_clk>; 945*724ba675SRob Herring clock-names = "otg"; 946*724ba675SRob Herring resets = <&rst USB0_RESET>; 947*724ba675SRob Herring reset-names = "dwc2"; 948*724ba675SRob Herring phys = <&usbphy0>; 949*724ba675SRob Herring phy-names = "usb2-phy"; 950*724ba675SRob Herring status = "disabled"; 951*724ba675SRob Herring }; 952*724ba675SRob Herring 953*724ba675SRob Herring usb1: usb@ffb40000 { 954*724ba675SRob Herring compatible = "snps,dwc2"; 955*724ba675SRob Herring reg = <0xffb40000 0xffff>; 956*724ba675SRob Herring interrupts = <0 128 4>; 957*724ba675SRob Herring clocks = <&usb_mp_clk>; 958*724ba675SRob Herring clock-names = "otg"; 959*724ba675SRob Herring resets = <&rst USB1_RESET>; 960*724ba675SRob Herring reset-names = "dwc2"; 961*724ba675SRob Herring phys = <&usbphy0>; 962*724ba675SRob Herring phy-names = "usb2-phy"; 963*724ba675SRob Herring status = "disabled"; 964*724ba675SRob Herring }; 965*724ba675SRob Herring 966*724ba675SRob Herring watchdog0: watchdog@ffd02000 { 967*724ba675SRob Herring compatible = "snps,dw-wdt"; 968*724ba675SRob Herring reg = <0xffd02000 0x1000>; 969*724ba675SRob Herring interrupts = <0 171 4>; 970*724ba675SRob Herring clocks = <&osc1>; 971*724ba675SRob Herring resets = <&rst L4WD0_RESET>; 972*724ba675SRob Herring status = "disabled"; 973*724ba675SRob Herring }; 974*724ba675SRob Herring 975*724ba675SRob Herring watchdog1: watchdog@ffd03000 { 976*724ba675SRob Herring compatible = "snps,dw-wdt"; 977*724ba675SRob Herring reg = <0xffd03000 0x1000>; 978*724ba675SRob Herring interrupts = <0 172 4>; 979*724ba675SRob Herring clocks = <&osc1>; 980*724ba675SRob Herring resets = <&rst L4WD1_RESET>; 981*724ba675SRob Herring status = "disabled"; 982*724ba675SRob Herring }; 983*724ba675SRob Herring }; 984*724ba675SRob Herring}; 985