1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Base Device Tree Source for the Renesas RZ/N1D (R9A06G032) 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (C) 2018 Renesas Electronics Europe Limited 6724ba675SRob Herring * 7724ba675SRob Herring */ 8724ba675SRob Herring 9724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 10724ba675SRob Herring#include <dt-bindings/clock/r9a06g032-sysctrl.h> 11724ba675SRob Herring 12724ba675SRob Herring/ { 13724ba675SRob Herring compatible = "renesas,r9a06g032"; 14724ba675SRob Herring #address-cells = <1>; 15724ba675SRob Herring #size-cells = <1>; 16724ba675SRob Herring 17724ba675SRob Herring cpus { 18724ba675SRob Herring #address-cells = <1>; 19724ba675SRob Herring #size-cells = <0>; 20724ba675SRob Herring 21724ba675SRob Herring cpu@0 { 22724ba675SRob Herring device_type = "cpu"; 23724ba675SRob Herring compatible = "arm,cortex-a7"; 24724ba675SRob Herring reg = <0>; 25724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_A7MP>; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring cpu@1 { 29724ba675SRob Herring device_type = "cpu"; 30724ba675SRob Herring compatible = "arm,cortex-a7"; 31724ba675SRob Herring reg = <1>; 32724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_A7MP>; 33724ba675SRob Herring enable-method = "renesas,r9a06g032-smp"; 34724ba675SRob Herring cpu-release-addr = <0 0x4000c204>; 35724ba675SRob Herring }; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring ext_jtag_clk: extjtagclk { 39724ba675SRob Herring #clock-cells = <0>; 40724ba675SRob Herring compatible = "fixed-clock"; 41724ba675SRob Herring clock-frequency = <0>; 42724ba675SRob Herring }; 43724ba675SRob Herring 44724ba675SRob Herring ext_mclk: extmclk { 45724ba675SRob Herring #clock-cells = <0>; 46724ba675SRob Herring compatible = "fixed-clock"; 47724ba675SRob Herring clock-frequency = <40000000>; 48724ba675SRob Herring }; 49724ba675SRob Herring 50724ba675SRob Herring ext_rgmii_ref: extrgmiiref { 51724ba675SRob Herring #clock-cells = <0>; 52724ba675SRob Herring compatible = "fixed-clock"; 53724ba675SRob Herring clock-frequency = <0>; 54724ba675SRob Herring }; 55724ba675SRob Herring 56724ba675SRob Herring ext_rtc_clk: extrtcclk { 57724ba675SRob Herring #clock-cells = <0>; 58724ba675SRob Herring compatible = "fixed-clock"; 59724ba675SRob Herring clock-frequency = <0>; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring soc { 63724ba675SRob Herring compatible = "simple-bus"; 64724ba675SRob Herring #address-cells = <1>; 65724ba675SRob Herring #size-cells = <1>; 66724ba675SRob Herring interrupt-parent = <&gic>; 67724ba675SRob Herring ranges; 68724ba675SRob Herring 69724ba675SRob Herring rtc0: rtc@40006000 { 70724ba675SRob Herring compatible = "renesas,r9a06g032-rtc", "renesas,rzn1-rtc"; 71724ba675SRob Herring reg = <0x40006000 0x1000>; 72724ba675SRob Herring interrupts = <GIC_SPI 66 IRQ_TYPE_EDGE_RISING>, 73724ba675SRob Herring <GIC_SPI 67 IRQ_TYPE_EDGE_RISING>, 74724ba675SRob Herring <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>; 75724ba675SRob Herring interrupt-names = "alarm", "timer", "pps"; 76724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_RTC>; 77724ba675SRob Herring clock-names = "hclk"; 78724ba675SRob Herring power-domains = <&sysctrl>; 79724ba675SRob Herring status = "disabled"; 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring wdt0: watchdog@40008000 { 83724ba675SRob Herring compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt"; 84724ba675SRob Herring reg = <0x40008000 0x1000>; 85724ba675SRob Herring interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>; 86724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>; 87724ba675SRob Herring status = "disabled"; 88724ba675SRob Herring }; 89724ba675SRob Herring 90724ba675SRob Herring wdt1: watchdog@40009000 { 91724ba675SRob Herring compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt"; 92724ba675SRob Herring reg = <0x40009000 0x1000>; 93724ba675SRob Herring interrupts = <GIC_SPI 74 IRQ_TYPE_EDGE_RISING>; 94724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>; 95724ba675SRob Herring status = "disabled"; 96724ba675SRob Herring }; 97724ba675SRob Herring 98724ba675SRob Herring sysctrl: system-controller@4000c000 { 99724ba675SRob Herring compatible = "renesas,r9a06g032-sysctrl"; 100724ba675SRob Herring reg = <0x4000c000 0x1000>; 101724ba675SRob Herring status = "okay"; 102724ba675SRob Herring #clock-cells = <1>; 103724ba675SRob Herring #power-domain-cells = <0>; 104724ba675SRob Herring 105724ba675SRob Herring clocks = <&ext_mclk>, <&ext_rtc_clk>, 106724ba675SRob Herring <&ext_jtag_clk>, <&ext_rgmii_ref>; 107724ba675SRob Herring clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; 108724ba675SRob Herring #address-cells = <1>; 109724ba675SRob Herring #size-cells = <1>; 110724ba675SRob Herring 111724ba675SRob Herring dmamux: dma-router@a0 { 112724ba675SRob Herring compatible = "renesas,rzn1-dmamux"; 113724ba675SRob Herring reg = <0xa0 4>; 114724ba675SRob Herring #dma-cells = <6>; 115724ba675SRob Herring dma-requests = <32>; 116724ba675SRob Herring dma-masters = <&dma0 &dma1>; 117724ba675SRob Herring }; 118724ba675SRob Herring }; 119724ba675SRob Herring 120724ba675SRob Herring udc: usb@4001e000 { 121724ba675SRob Herring compatible = "renesas,r9a06g032-usbf", "renesas,rzn1-usbf"; 122724ba675SRob Herring reg = <0x4001e000 0x2000>; 123724ba675SRob Herring interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, 124724ba675SRob Herring <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 125724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_USBF>, 126724ba675SRob Herring <&sysctrl R9A06G032_HCLK_USBPM>; 127724ba675SRob Herring clock-names = "hclkf", "hclkpm"; 128724ba675SRob Herring power-domains = <&sysctrl>; 129724ba675SRob Herring status = "disabled"; 130724ba675SRob Herring }; 131724ba675SRob Herring 132724ba675SRob Herring pci_usb: pci@40030000 { 133724ba675SRob Herring compatible = "renesas,pci-r9a06g032", "renesas,pci-rzn1"; 134724ba675SRob Herring device_type = "pci"; 135724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_USBH>, 136724ba675SRob Herring <&sysctrl R9A06G032_HCLK_USBPM>, 137724ba675SRob Herring <&sysctrl R9A06G032_CLK_PCI_USB>; 138724ba675SRob Herring clock-names = "hclkh", "hclkpm", "pciclk"; 139724ba675SRob Herring power-domains = <&sysctrl>; 140724ba675SRob Herring reg = <0x40030000 0xc00>, 141724ba675SRob Herring <0x40020000 0x1100>; 142724ba675SRob Herring interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 143724ba675SRob Herring status = "disabled"; 144724ba675SRob Herring 145724ba675SRob Herring bus-range = <0 0>; 146724ba675SRob Herring #address-cells = <3>; 147724ba675SRob Herring #size-cells = <2>; 148724ba675SRob Herring #interrupt-cells = <1>; 149724ba675SRob Herring ranges = <0x02000000 0 0x40020000 0x40020000 0 0x00010000>; 150724ba675SRob Herring /* Should map all possible DDR as inbound ranges, but 151724ba675SRob Herring * the IP only supports a 256MB, 512MB, or 1GB window. 152724ba675SRob Herring * flags, PCI addr (64-bit), CPU addr, PCI size (64-bit) 153724ba675SRob Herring */ 154724ba675SRob Herring dma-ranges = <0x42000000 0 0x80000000 0x80000000 0 0x40000000>; 155724ba675SRob Herring interrupt-map-mask = <0xf800 0 0 0x7>; 156724ba675SRob Herring interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 157724ba675SRob Herring 0x0800 0 0 1 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 158724ba675SRob Herring 0x1000 0 0 2 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 159724ba675SRob Herring 160724ba675SRob Herring usb@1,0 { 161724ba675SRob Herring reg = <0x800 0 0 0 0>; 162724ba675SRob Herring phys = <&usbphy>; 163724ba675SRob Herring phy-names = "usb"; 164724ba675SRob Herring }; 165724ba675SRob Herring 166724ba675SRob Herring usb@2,0 { 167724ba675SRob Herring reg = <0x1000 0 0 0 0>; 168724ba675SRob Herring phys = <&usbphy>; 169724ba675SRob Herring phy-names = "usb"; 170724ba675SRob Herring }; 171724ba675SRob Herring }; 172724ba675SRob Herring 173724ba675SRob Herring uart0: serial@40060000 { 174724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart"; 175724ba675SRob Herring reg = <0x40060000 0x400>; 176724ba675SRob Herring interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 177724ba675SRob Herring reg-shift = <2>; 178724ba675SRob Herring reg-io-width = <4>; 179724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART0>, <&sysctrl R9A06G032_HCLK_UART0>; 180724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 181724ba675SRob Herring status = "disabled"; 182724ba675SRob Herring }; 183724ba675SRob Herring 184724ba675SRob Herring uart1: serial@40061000 { 185724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart"; 186724ba675SRob Herring reg = <0x40061000 0x400>; 187724ba675SRob Herring interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 188724ba675SRob Herring reg-shift = <2>; 189724ba675SRob Herring reg-io-width = <4>; 190724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART1>, <&sysctrl R9A06G032_HCLK_UART1>; 191724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 192724ba675SRob Herring status = "disabled"; 193724ba675SRob Herring }; 194724ba675SRob Herring 195724ba675SRob Herring uart2: serial@40062000 { 196724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart"; 197724ba675SRob Herring reg = <0x40062000 0x400>; 198724ba675SRob Herring interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 199724ba675SRob Herring reg-shift = <2>; 200724ba675SRob Herring reg-io-width = <4>; 201724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART2>, <&sysctrl R9A06G032_HCLK_UART2>; 202724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 203724ba675SRob Herring status = "disabled"; 204724ba675SRob Herring }; 205724ba675SRob Herring 206724ba675SRob Herring uart3: serial@50000000 { 207724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 208724ba675SRob Herring reg = <0x50000000 0x400>; 209724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 210724ba675SRob Herring reg-shift = <2>; 211724ba675SRob Herring reg-io-width = <4>; 212724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART3>, <&sysctrl R9A06G032_HCLK_UART3>; 213724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 214724ba675SRob Herring dmas = <&dmamux 0 0 0 0 0 1>, <&dmamux 1 0 0 0 1 1>; 215724ba675SRob Herring dma-names = "rx", "tx"; 216724ba675SRob Herring status = "disabled"; 217724ba675SRob Herring }; 218724ba675SRob Herring 219724ba675SRob Herring uart4: serial@50001000 { 220724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 221724ba675SRob Herring reg = <0x50001000 0x400>; 222724ba675SRob Herring interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 223724ba675SRob Herring reg-shift = <2>; 224724ba675SRob Herring reg-io-width = <4>; 225724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART4>, <&sysctrl R9A06G032_HCLK_UART4>; 226724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 227724ba675SRob Herring dmas = <&dmamux 2 0 0 0 2 1>, <&dmamux 3 0 0 0 3 1>; 228724ba675SRob Herring dma-names = "rx", "tx"; 229724ba675SRob Herring status = "disabled"; 230724ba675SRob Herring }; 231724ba675SRob Herring 232724ba675SRob Herring uart5: serial@50002000 { 233724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 234724ba675SRob Herring reg = <0x50002000 0x400>; 235724ba675SRob Herring interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 236724ba675SRob Herring reg-shift = <2>; 237724ba675SRob Herring reg-io-width = <4>; 238724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART5>, <&sysctrl R9A06G032_HCLK_UART5>; 239724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 240724ba675SRob Herring dmas = <&dmamux 4 0 0 0 4 1>, <&dmamux 5 0 0 0 5 1>; 241724ba675SRob Herring dma-names = "rx", "tx"; 242724ba675SRob Herring status = "disabled"; 243724ba675SRob Herring }; 244724ba675SRob Herring 245724ba675SRob Herring uart6: serial@50003000 { 246724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 247724ba675SRob Herring reg = <0x50003000 0x400>; 248724ba675SRob Herring interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 249724ba675SRob Herring reg-shift = <2>; 250724ba675SRob Herring reg-io-width = <4>; 251724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART6>, <&sysctrl R9A06G032_HCLK_UART6>; 252724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 253724ba675SRob Herring dmas = <&dmamux 6 0 0 0 6 1>, <&dmamux 7 0 0 0 7 1>; 254724ba675SRob Herring dma-names = "rx", "tx"; 255724ba675SRob Herring status = "disabled"; 256724ba675SRob Herring }; 257724ba675SRob Herring 258724ba675SRob Herring uart7: serial@50004000 { 259724ba675SRob Herring compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart"; 260724ba675SRob Herring reg = <0x50004000 0x400>; 261724ba675SRob Herring interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 262724ba675SRob Herring reg-shift = <2>; 263724ba675SRob Herring reg-io-width = <4>; 264724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_UART7>, <&sysctrl R9A06G032_HCLK_UART7>; 265724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 266724ba675SRob Herring dmas = <&dmamux 4 0 0 0 20 1>, <&dmamux 5 0 0 0 21 1>; 267724ba675SRob Herring dma-names = "rx", "tx"; 268724ba675SRob Herring status = "disabled"; 269724ba675SRob Herring }; 270724ba675SRob Herring 271724ba675SRob Herring pinctrl: pinctrl@40067000 { 272724ba675SRob Herring compatible = "renesas,r9a06g032-pinctrl", "renesas,rzn1-pinctrl"; 273724ba675SRob Herring reg = <0x40067000 0x1000>, <0x51000000 0x480>; 274724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_PINCONFIG>; 275724ba675SRob Herring clock-names = "bus"; 276724ba675SRob Herring status = "okay"; 277724ba675SRob Herring }; 278724ba675SRob Herring 279724ba675SRob Herring nand_controller: nand-controller@40102000 { 280724ba675SRob Herring compatible = "renesas,r9a06g032-nandc", "renesas,rzn1-nandc"; 281724ba675SRob Herring reg = <0x40102000 0x2000>; 282724ba675SRob Herring interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; 283724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_NAND>, <&sysctrl R9A06G032_CLK_NAND>; 284724ba675SRob Herring clock-names = "hclk", "eclk"; 285724ba675SRob Herring power-domains = <&sysctrl>; 286724ba675SRob Herring #address-cells = <1>; 287724ba675SRob Herring #size-cells = <0>; 288724ba675SRob Herring status = "disabled"; 289724ba675SRob Herring }; 290724ba675SRob Herring 291724ba675SRob Herring dma0: dma-controller@40104000 { 292724ba675SRob Herring compatible = "renesas,r9a06g032-dma", "renesas,rzn1-dma"; 293724ba675SRob Herring reg = <0x40104000 0x1000>; 294724ba675SRob Herring interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 295724ba675SRob Herring clock-names = "hclk"; 296724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_DMA0>; 297724ba675SRob Herring dma-channels = <8>; 298724ba675SRob Herring dma-requests = <16>; 299724ba675SRob Herring dma-masters = <1>; 300724ba675SRob Herring #dma-cells = <3>; 301724ba675SRob Herring block_size = <0xfff>; 302724ba675SRob Herring data-width = <8>; 303724ba675SRob Herring }; 304724ba675SRob Herring 305724ba675SRob Herring dma1: dma-controller@40105000 { 306724ba675SRob Herring compatible = "renesas,r9a06g032-dma", "renesas,rzn1-dma"; 307724ba675SRob Herring reg = <0x40105000 0x1000>; 308724ba675SRob Herring interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 309724ba675SRob Herring clock-names = "hclk"; 310724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_DMA1>; 311724ba675SRob Herring dma-channels = <8>; 312724ba675SRob Herring dma-requests = <16>; 313724ba675SRob Herring dma-masters = <1>; 314724ba675SRob Herring #dma-cells = <3>; 315724ba675SRob Herring block_size = <0xfff>; 316724ba675SRob Herring data-width = <8>; 317724ba675SRob Herring }; 318724ba675SRob Herring 319f50e5ddcSClément Léger gmac1: ethernet@44000000 { 320f50e5ddcSClément Léger compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; 321f50e5ddcSClément Léger reg = <0x44000000 0x2000>; 322f50e5ddcSClément Léger interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 323f50e5ddcSClément Léger <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 324f50e5ddcSClément Léger <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 325f50e5ddcSClément Léger interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; 326f50e5ddcSClément Léger clocks = <&sysctrl R9A06G032_HCLK_GMAC0>; 327f50e5ddcSClément Léger clock-names = "stmmaceth"; 328f50e5ddcSClément Léger power-domains = <&sysctrl>; 329f50e5ddcSClément Léger snps,multicast-filter-bins = <256>; 330f50e5ddcSClément Léger snps,perfect-filter-entries = <128>; 331f50e5ddcSClément Léger tx-fifo-depth = <2048>; 332f50e5ddcSClément Léger rx-fifo-depth = <4096>; 333f50e5ddcSClément Léger pcs-handle = <&mii_conv1>; 334f50e5ddcSClément Léger status = "disabled"; 335f50e5ddcSClément Léger }; 336f50e5ddcSClément Léger 337724ba675SRob Herring gmac2: ethernet@44002000 { 338724ba675SRob Herring compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; 339724ba675SRob Herring reg = <0x44002000 0x2000>; 340724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, 341724ba675SRob Herring <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 342724ba675SRob Herring <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 343724ba675SRob Herring interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; 344724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_GMAC1>; 345724ba675SRob Herring clock-names = "stmmaceth"; 346724ba675SRob Herring power-domains = <&sysctrl>; 347724ba675SRob Herring snps,multicast-filter-bins = <256>; 348724ba675SRob Herring snps,perfect-filter-entries = <128>; 349724ba675SRob Herring tx-fifo-depth = <2048>; 350724ba675SRob Herring rx-fifo-depth = <4096>; 351724ba675SRob Herring status = "disabled"; 352724ba675SRob Herring }; 353724ba675SRob Herring 354724ba675SRob Herring eth_miic: eth-miic@44030000 { 355724ba675SRob Herring compatible = "renesas,r9a06g032-miic", "renesas,rzn1-miic"; 356724ba675SRob Herring #address-cells = <1>; 357724ba675SRob Herring #size-cells = <0>; 358724ba675SRob Herring reg = <0x44030000 0x10000>; 359724ba675SRob Herring clocks = <&sysctrl R9A06G032_CLK_MII_REF>, 360724ba675SRob Herring <&sysctrl R9A06G032_CLK_RGMII_REF>, 361724ba675SRob Herring <&sysctrl R9A06G032_CLK_RMII_REF>, 362724ba675SRob Herring <&sysctrl R9A06G032_HCLK_SWITCH_RG>; 363724ba675SRob Herring clock-names = "mii_ref", "rgmii_ref", "rmii_ref", "hclk"; 364724ba675SRob Herring power-domains = <&sysctrl>; 365724ba675SRob Herring status = "disabled"; 366724ba675SRob Herring 367724ba675SRob Herring mii_conv1: mii-conv@1 { 368724ba675SRob Herring reg = <1>; 369724ba675SRob Herring status = "disabled"; 370724ba675SRob Herring }; 371724ba675SRob Herring 372724ba675SRob Herring mii_conv2: mii-conv@2 { 373724ba675SRob Herring reg = <2>; 374724ba675SRob Herring status = "disabled"; 375724ba675SRob Herring }; 376724ba675SRob Herring 377724ba675SRob Herring mii_conv3: mii-conv@3 { 378724ba675SRob Herring reg = <3>; 379724ba675SRob Herring status = "disabled"; 380724ba675SRob Herring }; 381724ba675SRob Herring 382724ba675SRob Herring mii_conv4: mii-conv@4 { 383724ba675SRob Herring reg = <4>; 384724ba675SRob Herring status = "disabled"; 385724ba675SRob Herring }; 386724ba675SRob Herring 387724ba675SRob Herring mii_conv5: mii-conv@5 { 388724ba675SRob Herring reg = <5>; 389724ba675SRob Herring status = "disabled"; 390724ba675SRob Herring }; 391724ba675SRob Herring }; 392724ba675SRob Herring 393724ba675SRob Herring switch: switch@44050000 { 394724ba675SRob Herring compatible = "renesas,r9a06g032-a5psw", "renesas,rzn1-a5psw"; 395724ba675SRob Herring reg = <0x44050000 0x10000>; 396724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_SWITCH>, 397724ba675SRob Herring <&sysctrl R9A06G032_CLK_SWITCH>; 398724ba675SRob Herring clock-names = "hclk", "clk"; 399724ba675SRob Herring power-domains = <&sysctrl>; 400724ba675SRob Herring status = "disabled"; 401724ba675SRob Herring 402724ba675SRob Herring ethernet-ports { 403724ba675SRob Herring #address-cells = <1>; 404724ba675SRob Herring #size-cells = <0>; 405724ba675SRob Herring 406724ba675SRob Herring switch_port0: port@0 { 407724ba675SRob Herring reg = <0>; 408724ba675SRob Herring pcs-handle = <&mii_conv5>; 409724ba675SRob Herring status = "disabled"; 410724ba675SRob Herring }; 411724ba675SRob Herring 412724ba675SRob Herring switch_port1: port@1 { 413724ba675SRob Herring reg = <1>; 414724ba675SRob Herring pcs-handle = <&mii_conv4>; 415724ba675SRob Herring status = "disabled"; 416724ba675SRob Herring }; 417724ba675SRob Herring 418724ba675SRob Herring switch_port2: port@2 { 419724ba675SRob Herring reg = <2>; 420724ba675SRob Herring pcs-handle = <&mii_conv3>; 421724ba675SRob Herring status = "disabled"; 422724ba675SRob Herring }; 423724ba675SRob Herring 424724ba675SRob Herring switch_port3: port@3 { 425724ba675SRob Herring reg = <3>; 426724ba675SRob Herring pcs-handle = <&mii_conv2>; 427724ba675SRob Herring status = "disabled"; 428724ba675SRob Herring }; 429724ba675SRob Herring 430724ba675SRob Herring switch_port4: port@4 { 431724ba675SRob Herring reg = <4>; 432724ba675SRob Herring ethernet = <&gmac2>; 433724ba675SRob Herring label = "cpu"; 434724ba675SRob Herring phy-mode = "internal"; 435724ba675SRob Herring status = "disabled"; 436724ba675SRob Herring fixed-link { 437724ba675SRob Herring speed = <1000>; 438724ba675SRob Herring full-duplex; 439724ba675SRob Herring }; 440724ba675SRob Herring }; 441724ba675SRob Herring }; 442724ba675SRob Herring }; 443724ba675SRob Herring 444724ba675SRob Herring gic: interrupt-controller@44101000 { 445724ba675SRob Herring compatible = "arm,gic-400", "arm,cortex-a7-gic"; 446724ba675SRob Herring interrupt-controller; 447724ba675SRob Herring #interrupt-cells = <3>; 448724ba675SRob Herring reg = <0x44101000 0x1000>, /* Distributer */ 449724ba675SRob Herring <0x44102000 0x2000>, /* CPU interface */ 450724ba675SRob Herring <0x44104000 0x2000>, /* Virt interface control */ 451724ba675SRob Herring <0x44106000 0x2000>; /* Virt CPU interface */ 452724ba675SRob Herring interrupts = 453724ba675SRob Herring <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 454724ba675SRob Herring }; 455724ba675SRob Herring 456724ba675SRob Herring can0: can@52104000 { 457724ba675SRob Herring compatible = "renesas,r9a06g032-sja1000", "renesas,rzn1-sja1000"; 458724ba675SRob Herring reg = <0x52104000 0x800>; 459724ba675SRob Herring reg-io-width = <4>; 460724ba675SRob Herring interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 461724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_CAN0>; 462724ba675SRob Herring power-domains = <&sysctrl>; 463724ba675SRob Herring status = "disabled"; 464724ba675SRob Herring }; 465724ba675SRob Herring 466724ba675SRob Herring can1: can@52105000 { 467724ba675SRob Herring compatible = "renesas,r9a06g032-sja1000", "renesas,rzn1-sja1000"; 468724ba675SRob Herring reg = <0x52105000 0x800>; 469724ba675SRob Herring reg-io-width = <4>; 470724ba675SRob Herring interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 471724ba675SRob Herring clocks = <&sysctrl R9A06G032_HCLK_CAN1>; 472724ba675SRob Herring power-domains = <&sysctrl>; 473724ba675SRob Herring status = "disabled"; 474724ba675SRob Herring }; 475724ba675SRob Herring }; 476724ba675SRob Herring 477724ba675SRob Herring timer { 478724ba675SRob Herring compatible = "arm,armv7-timer"; 479724ba675SRob Herring interrupt-parent = <&gic>; 480724ba675SRob Herring arm,cpu-registers-not-fw-configured; 481724ba675SRob Herring always-on; 482724ba675SRob Herring interrupts = 483724ba675SRob Herring <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 484724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 485724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 486724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 487*9d30bd7bSGeert Uytterhoeven interrupt-names = "sec-phys", "phys", "virt", "hyp-phys"; 488724ba675SRob Herring }; 489724ba675SRob Herring 490724ba675SRob Herring usbphy: usb-phy { 491724ba675SRob Herring #phy-cells = <0>; 492724ba675SRob Herring compatible = "usb-nop-xceiv"; 493724ba675SRob Herring status = "disabled"; 494724ba675SRob Herring }; 495724ba675SRob Herring}; 496