1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Base Device Tree Source for the Renesas RZ/N1D (R9A06G032) 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2018 Renesas Electronics Europe Limited 6*724ba675SRob Herring * 7*724ba675SRob Herring */ 8*724ba675SRob Herring 9*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 10*724ba675SRob Herring#include <dt-bindings/clock/r9a06g032-sysctrl.h> 11*724ba675SRob Herring 12*724ba675SRob Herring/ { 13*724ba675SRob Herring compatible = "renesas,r9a06g032"; 14*724ba675SRob Herring #address-cells = <1>; 15*724ba675SRob Herring #size-cells = <1>; 16*724ba675SRob Herring 17*724ba675SRob Herring cpus { 18*724ba675SRob Herring #address-cells = <1>; 19*724ba675SRob Herring #size-cells = <0>; 20*724ba675SRob Herring 21*724ba675SRob Herring cpu@0 { 22*724ba675SRob Herring device_type = "cpu"; 23*724ba675SRob Herring compatible = "arm,cortex-a7"; 24*724ba675SRob Herring reg = <0>; 25*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_A7MP>; 26*724ba675SRob Herring }; 27*724ba675SRob Herring 28*724ba675SRob Herring cpu@1 { 29*724ba675SRob Herring device_type = "cpu"; 30*724ba675SRob Herring compatible = "arm,cortex-a7"; 31*724ba675SRob Herring reg = <1>; 32*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_A7MP>; 33*724ba675SRob Herring enable-method = "renesas,r9a06g032-smp"; 34*724ba675SRob Herring cpu-release-addr = <0 0x4000c204>; 35*724ba675SRob Herring }; 36*724ba675SRob Herring }; 37*724ba675SRob Herring 38*724ba675SRob Herring ext_jtag_clk: extjtagclk { 39*724ba675SRob Herring #clock-cells = <0>; 40*724ba675SRob Herring compatible = "fixed-clock"; 41*724ba675SRob Herring clock-frequency = <0>; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring ext_mclk: extmclk { 45*724ba675SRob Herring #clock-cells = <0>; 46*724ba675SRob Herring compatible = "fixed-clock"; 47*724ba675SRob Herring clock-frequency = <40000000>; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring ext_rgmii_ref: extrgmiiref { 51*724ba675SRob Herring #clock-cells = <0>; 52*724ba675SRob Herring compatible = "fixed-clock"; 53*724ba675SRob Herring clock-frequency = <0>; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring ext_rtc_clk: extrtcclk { 57*724ba675SRob Herring #clock-cells = <0>; 58*724ba675SRob Herring compatible = "fixed-clock"; 59*724ba675SRob Herring clock-frequency = <0>; 60*724ba675SRob Herring }; 61*724ba675SRob Herring 62*724ba675SRob Herring soc { 63*724ba675SRob Herring compatible = "simple-bus"; 64*724ba675SRob Herring #address-cells = <1>; 65*724ba675SRob Herring #size-cells = <1>; 66*724ba675SRob Herring interrupt-parent = <&gic>; 67*724ba675SRob Herring ranges; 68*724ba675SRob Herring 69*724ba675SRob Herring rtc0: rtc@40006000 { 70*724ba675SRob Herring compatible = "renesas,r9a06g032-rtc", "renesas,rzn1-rtc"; 71*724ba675SRob Herring reg = <0x40006000 0x1000>; 72*724ba675SRob Herring interrupts = <GIC_SPI 66 IRQ_TYPE_EDGE_RISING>, 73*724ba675SRob Herring <GIC_SPI 67 IRQ_TYPE_EDGE_RISING>, 74*724ba675SRob Herring <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>; 75*724ba675SRob Herring interrupt-names = "alarm", "timer", "pps"; 76*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_RTC>; 77*724ba675SRob Herring clock-names = "hclk"; 78*724ba675SRob Herring power-domains = <&sysctrl>; 79*724ba675SRob Herring status = "disabled"; 80*724ba675SRob Herring }; 81*724ba675SRob Herring 82*724ba675SRob Herring wdt0: watchdog@40008000 { 83*724ba675SRob Herring compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt"; 84*724ba675SRob Herring reg = <0x40008000 0x1000>; 85*724ba675SRob Herring interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>; 86*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>; 87*724ba675SRob Herring status = "disabled"; 88*724ba675SRob Herring }; 89*724ba675SRob Herring 90*724ba675SRob Herring wdt1: watchdog@40009000 { 91*724ba675SRob Herring compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt"; 92*724ba675SRob Herring reg = <0x40009000 0x1000>; 93*724ba675SRob Herring interrupts = <GIC_SPI 74 IRQ_TYPE_EDGE_RISING>; 94*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>; 95*724ba675SRob Herring status = "disabled"; 96*724ba675SRob Herring }; 97*724ba675SRob Herring 98*724ba675SRob Herring sysctrl: system-controller@4000c000 { 99*724ba675SRob Herring compatible = "renesas,r9a06g032-sysctrl"; 100*724ba675SRob Herring reg = <0x4000c000 0x1000>; 101*724ba675SRob Herring status = "okay"; 102*724ba675SRob Herring #clock-cells = <1>; 103*724ba675SRob Herring #power-domain-cells = <0>; 104*724ba675SRob Herring 105*724ba675SRob Herring clocks = <&ext_mclk>, <&ext_rtc_clk>, 106*724ba675SRob Herring <&ext_jtag_clk>, <&ext_rgmii_ref>; 107*724ba675SRob Herring clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; 108*724ba675SRob Herring #address-cells = <1>; 109*724ba675SRob Herring #size-cells = <1>; 110*724ba675SRob Herring 111*724ba675SRob Herring dmamux: dma-router@a0 { 112*724ba675SRob Herring compatible = "renesas,rzn1-dmamux"; 113*724ba675SRob Herring reg = <0xa0 4>; 114*724ba675SRob Herring #dma-cells = <6>; 115*724ba675SRob Herring dma-requests = <32>; 116*724ba675SRob Herring dma-masters = <&dma0 &dma1>; 117*724ba675SRob Herring }; 118*724ba675SRob Herring }; 119*724ba675SRob Herring 120*724ba675SRob Herring udc: usb@4001e000 { 121*724ba675SRob Herring compatible = "renesas,r9a06g032-usbf", "renesas,rzn1-usbf"; 122*724ba675SRob Herring reg = <0x4001e000 0x2000>; 123*724ba675SRob Herring interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, 124*724ba675SRob Herring <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 125*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_USBF>, 126*724ba675SRob Herring <&sysctrl R9A06G032_HCLK_USBPM>; 127*724ba675SRob Herring clock-names = "hclkf", "hclkpm"; 128*724ba675SRob Herring power-domains = <&sysctrl>; 129*724ba675SRob Herring status = "disabled"; 130*724ba675SRob Herring }; 131*724ba675SRob Herring 132*724ba675SRob Herring pci_usb: pci@40030000 { 133*724ba675SRob Herring compatible = "renesas,pci-r9a06g032", "renesas,pci-rzn1"; 134*724ba675SRob Herring device_type = "pci"; 135*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_USBH>, 136*724ba675SRob Herring <&sysctrl R9A06G032_HCLK_USBPM>, 137*724ba675SRob Herring <&sysctrl R9A06G032_CLK_PCI_USB>; 138*724ba675SRob Herring clock-names = "hclkh", "hclkpm", "pciclk"; 139*724ba675SRob Herring power-domains = <&sysctrl>; 140*724ba675SRob Herring reg = <0x40030000 0xc00>, 141*724ba675SRob Herring <0x40020000 0x1100>; 142*724ba675SRob Herring interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 143*724ba675SRob Herring status = "disabled"; 144*724ba675SRob Herring 145*724ba675SRob Herring bus-range = <0 0>; 146*724ba675SRob Herring #address-cells = <3>; 147*724ba675SRob Herring #size-cells = <2>; 148*724ba675SRob Herring #interrupt-cells = <1>; 149*724ba675SRob Herring ranges = <0x02000000 0 0x40020000 0x40020000 0 0x00010000>; 150*724ba675SRob Herring /* Should map all possible DDR as inbound ranges, but 151*724ba675SRob Herring * the IP only supports a 256MB, 512MB, or 1GB window. 152*724ba675SRob Herring * flags, PCI addr (64-bit), CPU addr, PCI size (64-bit) 153*724ba675SRob Herring */ 154*724ba675SRob Herring dma-ranges = <0x42000000 0 0x80000000 0x80000000 0 0x40000000>; 155*724ba675SRob Herring interrupt-map-mask = <0xf800 0 0 0x7>; 156*724ba675SRob Herring interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 157*724ba675SRob Herring 0x0800 0 0 1 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 158*724ba675SRob Herring 0x1000 0 0 2 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 159*724ba675SRob Herring 160*724ba675SRob Herring usb@1,0 { 161*724ba675SRob Herring reg = <0x800 0 0 0 0>; 162*724ba675SRob Herring phys = <&usbphy>; 163*724ba675SRob Herring phy-names = "usb"; 164*724ba675SRob Herring }; 165*724ba675SRob Herring 166*724ba675SRob Herring usb@2,0 { 167*724ba675SRob Herring reg = <0x1000 0 0 0 0>; 168*724ba675SRob Herring phys = <&usbphy>; 169*724ba675SRob Herring phy-names = "usb"; 170*724ba675SRob Herring }; 171*724ba675SRob Herring }; 172*724ba675SRob Herring 173*724ba675SRob Herring uart0: serial@40060000 { 174*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart"; 175*724ba675SRob Herring reg = <0x40060000 0x400>; 176*724ba675SRob Herring interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 177*724ba675SRob Herring reg-shift = <2>; 178*724ba675SRob Herring reg-io-width = <4>; 179*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART0>, <&sysctrl R9A06G032_HCLK_UART0>; 180*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 181*724ba675SRob Herring status = "disabled"; 182*724ba675SRob Herring }; 183*724ba675SRob Herring 184*724ba675SRob Herring uart1: serial@40061000 { 185*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart"; 186*724ba675SRob Herring reg = <0x40061000 0x400>; 187*724ba675SRob Herring interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 188*724ba675SRob Herring reg-shift = <2>; 189*724ba675SRob Herring reg-io-width = <4>; 190*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART1>, <&sysctrl R9A06G032_HCLK_UART1>; 191*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 192*724ba675SRob Herring status = "disabled"; 193*724ba675SRob Herring }; 194*724ba675SRob Herring 195*724ba675SRob Herring uart2: serial@40062000 { 196*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart"; 197*724ba675SRob Herring reg = <0x40062000 0x400>; 198*724ba675SRob Herring interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 199*724ba675SRob Herring reg-shift = <2>; 200*724ba675SRob Herring reg-io-width = <4>; 201*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART2>, <&sysctrl R9A06G032_HCLK_UART2>; 202*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 203*724ba675SRob Herring status = "disabled"; 204*724ba675SRob Herring }; 205*724ba675SRob Herring 206*724ba675SRob Herring uart3: serial@50000000 { 207*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 208*724ba675SRob Herring reg = <0x50000000 0x400>; 209*724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 210*724ba675SRob Herring reg-shift = <2>; 211*724ba675SRob Herring reg-io-width = <4>; 212*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART3>, <&sysctrl R9A06G032_HCLK_UART3>; 213*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 214*724ba675SRob Herring dmas = <&dmamux 0 0 0 0 0 1>, <&dmamux 1 0 0 0 1 1>; 215*724ba675SRob Herring dma-names = "rx", "tx"; 216*724ba675SRob Herring status = "disabled"; 217*724ba675SRob Herring }; 218*724ba675SRob Herring 219*724ba675SRob Herring uart4: serial@50001000 { 220*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 221*724ba675SRob Herring reg = <0x50001000 0x400>; 222*724ba675SRob Herring interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 223*724ba675SRob Herring reg-shift = <2>; 224*724ba675SRob Herring reg-io-width = <4>; 225*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART4>, <&sysctrl R9A06G032_HCLK_UART4>; 226*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 227*724ba675SRob Herring dmas = <&dmamux 2 0 0 0 2 1>, <&dmamux 3 0 0 0 3 1>; 228*724ba675SRob Herring dma-names = "rx", "tx"; 229*724ba675SRob Herring status = "disabled"; 230*724ba675SRob Herring }; 231*724ba675SRob Herring 232*724ba675SRob Herring uart5: serial@50002000 { 233*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 234*724ba675SRob Herring reg = <0x50002000 0x400>; 235*724ba675SRob Herring interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 236*724ba675SRob Herring reg-shift = <2>; 237*724ba675SRob Herring reg-io-width = <4>; 238*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART5>, <&sysctrl R9A06G032_HCLK_UART5>; 239*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 240*724ba675SRob Herring dmas = <&dmamux 4 0 0 0 4 1>, <&dmamux 5 0 0 0 5 1>; 241*724ba675SRob Herring dma-names = "rx", "tx"; 242*724ba675SRob Herring status = "disabled"; 243*724ba675SRob Herring }; 244*724ba675SRob Herring 245*724ba675SRob Herring uart6: serial@50003000 { 246*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 247*724ba675SRob Herring reg = <0x50003000 0x400>; 248*724ba675SRob Herring interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 249*724ba675SRob Herring reg-shift = <2>; 250*724ba675SRob Herring reg-io-width = <4>; 251*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART6>, <&sysctrl R9A06G032_HCLK_UART6>; 252*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 253*724ba675SRob Herring dmas = <&dmamux 6 0 0 0 6 1>, <&dmamux 7 0 0 0 7 1>; 254*724ba675SRob Herring dma-names = "rx", "tx"; 255*724ba675SRob Herring status = "disabled"; 256*724ba675SRob Herring }; 257*724ba675SRob Herring 258*724ba675SRob Herring uart7: serial@50004000 { 259*724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 260*724ba675SRob Herring reg = <0x50004000 0x400>; 261*724ba675SRob Herring interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 262*724ba675SRob Herring reg-shift = <2>; 263*724ba675SRob Herring reg-io-width = <4>; 264*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART7>, <&sysctrl R9A06G032_HCLK_UART7>; 265*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 266*724ba675SRob Herring dmas = <&dmamux 4 0 0 0 20 1>, <&dmamux 5 0 0 0 21 1>; 267*724ba675SRob Herring dma-names = "rx", "tx"; 268*724ba675SRob Herring status = "disabled"; 269*724ba675SRob Herring }; 270*724ba675SRob Herring 271*724ba675SRob Herring pinctrl: pinctrl@40067000 { 272*724ba675SRob Herring compatible = "renesas,r9a06g032-pinctrl", "renesas,rzn1-pinctrl"; 273*724ba675SRob Herring reg = <0x40067000 0x1000>, <0x51000000 0x480>; 274*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_PINCONFIG>; 275*724ba675SRob Herring clock-names = "bus"; 276*724ba675SRob Herring status = "okay"; 277*724ba675SRob Herring }; 278*724ba675SRob Herring 279*724ba675SRob Herring nand_controller: nand-controller@40102000 { 280*724ba675SRob Herring compatible = "renesas,r9a06g032-nandc", "renesas,rzn1-nandc"; 281*724ba675SRob Herring reg = <0x40102000 0x2000>; 282*724ba675SRob Herring interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; 283*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_NAND>, <&sysctrl R9A06G032_CLK_NAND>; 284*724ba675SRob Herring clock-names = "hclk", "eclk"; 285*724ba675SRob Herring power-domains = <&sysctrl>; 286*724ba675SRob Herring #address-cells = <1>; 287*724ba675SRob Herring #size-cells = <0>; 288*724ba675SRob Herring status = "disabled"; 289*724ba675SRob Herring }; 290*724ba675SRob Herring 291*724ba675SRob Herring dma0: dma-controller@40104000 { 292*724ba675SRob Herring compatible = "renesas,r9a06g032-dma", "renesas,rzn1-dma"; 293*724ba675SRob Herring reg = <0x40104000 0x1000>; 294*724ba675SRob Herring interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 295*724ba675SRob Herring clock-names = "hclk"; 296*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_DMA0>; 297*724ba675SRob Herring dma-channels = <8>; 298*724ba675SRob Herring dma-requests = <16>; 299*724ba675SRob Herring dma-masters = <1>; 300*724ba675SRob Herring #dma-cells = <3>; 301*724ba675SRob Herring block_size = <0xfff>; 302*724ba675SRob Herring data-width = <8>; 303*724ba675SRob Herring }; 304*724ba675SRob Herring 305*724ba675SRob Herring dma1: dma-controller@40105000 { 306*724ba675SRob Herring compatible = "renesas,r9a06g032-dma", "renesas,rzn1-dma"; 307*724ba675SRob Herring reg = <0x40105000 0x1000>; 308*724ba675SRob Herring interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 309*724ba675SRob Herring clock-names = "hclk"; 310*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_DMA1>; 311*724ba675SRob Herring dma-channels = <8>; 312*724ba675SRob Herring dma-requests = <16>; 313*724ba675SRob Herring dma-masters = <1>; 314*724ba675SRob Herring #dma-cells = <3>; 315*724ba675SRob Herring block_size = <0xfff>; 316*724ba675SRob Herring data-width = <8>; 317*724ba675SRob Herring }; 318*724ba675SRob Herring 319*724ba675SRob Herring gmac2: ethernet@44002000 { 320*724ba675SRob Herring compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; 321*724ba675SRob Herring reg = <0x44002000 0x2000>; 322*724ba675SRob Herring interrupt-parent = <&gic>; 323*724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, 324*724ba675SRob Herring <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 325*724ba675SRob Herring <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 326*724ba675SRob Herring interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; 327*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_GMAC1>; 328*724ba675SRob Herring clock-names = "stmmaceth"; 329*724ba675SRob Herring power-domains = <&sysctrl>; 330*724ba675SRob Herring snps,multicast-filter-bins = <256>; 331*724ba675SRob Herring snps,perfect-filter-entries = <128>; 332*724ba675SRob Herring tx-fifo-depth = <2048>; 333*724ba675SRob Herring rx-fifo-depth = <4096>; 334*724ba675SRob Herring status = "disabled"; 335*724ba675SRob Herring }; 336*724ba675SRob Herring 337*724ba675SRob Herring eth_miic: eth-miic@44030000 { 338*724ba675SRob Herring compatible = "renesas,r9a06g032-miic", "renesas,rzn1-miic"; 339*724ba675SRob Herring #address-cells = <1>; 340*724ba675SRob Herring #size-cells = <0>; 341*724ba675SRob Herring reg = <0x44030000 0x10000>; 342*724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_MII_REF>, 343*724ba675SRob Herring <&sysctrl R9A06G032_CLK_RGMII_REF>, 344*724ba675SRob Herring <&sysctrl R9A06G032_CLK_RMII_REF>, 345*724ba675SRob Herring <&sysctrl R9A06G032_HCLK_SWITCH_RG>; 346*724ba675SRob Herring clock-names = "mii_ref", "rgmii_ref", "rmii_ref", "hclk"; 347*724ba675SRob Herring power-domains = <&sysctrl>; 348*724ba675SRob Herring status = "disabled"; 349*724ba675SRob Herring 350*724ba675SRob Herring mii_conv1: mii-conv@1 { 351*724ba675SRob Herring reg = <1>; 352*724ba675SRob Herring status = "disabled"; 353*724ba675SRob Herring }; 354*724ba675SRob Herring 355*724ba675SRob Herring mii_conv2: mii-conv@2 { 356*724ba675SRob Herring reg = <2>; 357*724ba675SRob Herring status = "disabled"; 358*724ba675SRob Herring }; 359*724ba675SRob Herring 360*724ba675SRob Herring mii_conv3: mii-conv@3 { 361*724ba675SRob Herring reg = <3>; 362*724ba675SRob Herring status = "disabled"; 363*724ba675SRob Herring }; 364*724ba675SRob Herring 365*724ba675SRob Herring mii_conv4: mii-conv@4 { 366*724ba675SRob Herring reg = <4>; 367*724ba675SRob Herring status = "disabled"; 368*724ba675SRob Herring }; 369*724ba675SRob Herring 370*724ba675SRob Herring mii_conv5: mii-conv@5 { 371*724ba675SRob Herring reg = <5>; 372*724ba675SRob Herring status = "disabled"; 373*724ba675SRob Herring }; 374*724ba675SRob Herring }; 375*724ba675SRob Herring 376*724ba675SRob Herring switch: switch@44050000 { 377*724ba675SRob Herring compatible = "renesas,r9a06g032-a5psw", "renesas,rzn1-a5psw"; 378*724ba675SRob Herring reg = <0x44050000 0x10000>; 379*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_SWITCH>, 380*724ba675SRob Herring <&sysctrl R9A06G032_CLK_SWITCH>; 381*724ba675SRob Herring clock-names = "hclk", "clk"; 382*724ba675SRob Herring power-domains = <&sysctrl>; 383*724ba675SRob Herring status = "disabled"; 384*724ba675SRob Herring 385*724ba675SRob Herring ethernet-ports { 386*724ba675SRob Herring #address-cells = <1>; 387*724ba675SRob Herring #size-cells = <0>; 388*724ba675SRob Herring 389*724ba675SRob Herring switch_port0: port@0 { 390*724ba675SRob Herring reg = <0>; 391*724ba675SRob Herring pcs-handle = <&mii_conv5>; 392*724ba675SRob Herring status = "disabled"; 393*724ba675SRob Herring }; 394*724ba675SRob Herring 395*724ba675SRob Herring switch_port1: port@1 { 396*724ba675SRob Herring reg = <1>; 397*724ba675SRob Herring pcs-handle = <&mii_conv4>; 398*724ba675SRob Herring status = "disabled"; 399*724ba675SRob Herring }; 400*724ba675SRob Herring 401*724ba675SRob Herring switch_port2: port@2 { 402*724ba675SRob Herring reg = <2>; 403*724ba675SRob Herring pcs-handle = <&mii_conv3>; 404*724ba675SRob Herring status = "disabled"; 405*724ba675SRob Herring }; 406*724ba675SRob Herring 407*724ba675SRob Herring switch_port3: port@3 { 408*724ba675SRob Herring reg = <3>; 409*724ba675SRob Herring pcs-handle = <&mii_conv2>; 410*724ba675SRob Herring status = "disabled"; 411*724ba675SRob Herring }; 412*724ba675SRob Herring 413*724ba675SRob Herring switch_port4: port@4 { 414*724ba675SRob Herring reg = <4>; 415*724ba675SRob Herring ethernet = <&gmac2>; 416*724ba675SRob Herring label = "cpu"; 417*724ba675SRob Herring phy-mode = "internal"; 418*724ba675SRob Herring status = "disabled"; 419*724ba675SRob Herring fixed-link { 420*724ba675SRob Herring speed = <1000>; 421*724ba675SRob Herring full-duplex; 422*724ba675SRob Herring }; 423*724ba675SRob Herring }; 424*724ba675SRob Herring }; 425*724ba675SRob Herring }; 426*724ba675SRob Herring 427*724ba675SRob Herring gic: interrupt-controller@44101000 { 428*724ba675SRob Herring compatible = "arm,gic-400", "arm,cortex-a7-gic"; 429*724ba675SRob Herring interrupt-controller; 430*724ba675SRob Herring #interrupt-cells = <3>; 431*724ba675SRob Herring reg = <0x44101000 0x1000>, /* Distributer */ 432*724ba675SRob Herring <0x44102000 0x2000>, /* CPU interface */ 433*724ba675SRob Herring <0x44104000 0x2000>, /* Virt interface control */ 434*724ba675SRob Herring <0x44106000 0x2000>; /* Virt CPU interface */ 435*724ba675SRob Herring interrupts = 436*724ba675SRob Herring <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 437*724ba675SRob Herring }; 438*724ba675SRob Herring 439*724ba675SRob Herring can0: can@52104000 { 440*724ba675SRob Herring compatible = "renesas,r9a06g032-sja1000","renesas,rzn1-sja1000"; 441*724ba675SRob Herring reg = <0x52104000 0x800>; 442*724ba675SRob Herring reg-io-width = <4>; 443*724ba675SRob Herring interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 444*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_CAN0>; 445*724ba675SRob Herring power-domains = <&sysctrl>; 446*724ba675SRob Herring status = "disabled"; 447*724ba675SRob Herring }; 448*724ba675SRob Herring 449*724ba675SRob Herring can1: can@52105000 { 450*724ba675SRob Herring compatible = "renesas,r9a06g032-sja1000", "renesas,rzn1-sja1000"; 451*724ba675SRob Herring reg = <0x52105000 0x800>; 452*724ba675SRob Herring reg-io-width = <4>; 453*724ba675SRob Herring interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 454*724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_CAN1>; 455*724ba675SRob Herring power-domains = <&sysctrl>; 456*724ba675SRob Herring status = "disabled"; 457*724ba675SRob Herring }; 458*724ba675SRob Herring }; 459*724ba675SRob Herring 460*724ba675SRob Herring timer { 461*724ba675SRob Herring compatible = "arm,armv7-timer"; 462*724ba675SRob Herring interrupt-parent = <&gic>; 463*724ba675SRob Herring arm,cpu-registers-not-fw-configured; 464*724ba675SRob Herring always-on; 465*724ba675SRob Herring interrupts = 466*724ba675SRob Herring <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 467*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 468*724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 469*724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 470*724ba675SRob Herring }; 471*724ba675SRob Herring 472*724ba675SRob Herring usbphy: usb-phy { 473*724ba675SRob Herring #phy-cells = <0>; 474*724ba675SRob Herring compatible = "usb-nop-xceiv"; 475*724ba675SRob Herring status = "disabled"; 476*724ba675SRob Herring }; 477*724ba675SRob Herring}; 478