1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT 2*f126890aSEmmanuel Vadot// 3*f126890aSEmmanuel Vadot// Device Tree Source for UniPhier sLD8 SoC 4*f126890aSEmmanuel Vadot// 5*f126890aSEmmanuel Vadot// Copyright (C) 2015-2016 Socionext Inc. 6*f126890aSEmmanuel Vadot// Author: Masahiro Yamada <yamada.masahiro@socionext.com> 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/uniphier-gpio.h> 9*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot/ { 12*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8"; 13*f126890aSEmmanuel Vadot #address-cells = <1>; 14*f126890aSEmmanuel Vadot #size-cells = <1>; 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadot cpus { 17*f126890aSEmmanuel Vadot #address-cells = <1>; 18*f126890aSEmmanuel Vadot #size-cells = <0>; 19*f126890aSEmmanuel Vadot 20*f126890aSEmmanuel Vadot cpu@0 { 21*f126890aSEmmanuel Vadot device_type = "cpu"; 22*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9"; 23*f126890aSEmmanuel Vadot reg = <0>; 24*f126890aSEmmanuel Vadot enable-method = "psci"; 25*f126890aSEmmanuel Vadot next-level-cache = <&l2>; 26*f126890aSEmmanuel Vadot }; 27*f126890aSEmmanuel Vadot }; 28*f126890aSEmmanuel Vadot 29*f126890aSEmmanuel Vadot psci { 30*f126890aSEmmanuel Vadot compatible = "arm,psci-0.2"; 31*f126890aSEmmanuel Vadot method = "smc"; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot clocks { 35*f126890aSEmmanuel Vadot refclk: ref { 36*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 37*f126890aSEmmanuel Vadot #clock-cells = <0>; 38*f126890aSEmmanuel Vadot clock-frequency = <25000000>; 39*f126890aSEmmanuel Vadot }; 40*f126890aSEmmanuel Vadot 41*f126890aSEmmanuel Vadot arm_timer_clk: arm-timer { 42*f126890aSEmmanuel Vadot #clock-cells = <0>; 43*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 44*f126890aSEmmanuel Vadot clock-frequency = <50000000>; 45*f126890aSEmmanuel Vadot }; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot soc { 49*f126890aSEmmanuel Vadot compatible = "simple-bus"; 50*f126890aSEmmanuel Vadot #address-cells = <1>; 51*f126890aSEmmanuel Vadot #size-cells = <1>; 52*f126890aSEmmanuel Vadot ranges; 53*f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 54*f126890aSEmmanuel Vadot 55*f126890aSEmmanuel Vadot l2: cache-controller@500c0000 { 56*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-system-cache"; 57*f126890aSEmmanuel Vadot reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, 58*f126890aSEmmanuel Vadot <0x506c0000 0x400>; 59*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>, 60*f126890aSEmmanuel Vadot <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>; 61*f126890aSEmmanuel Vadot cache-unified; 62*f126890aSEmmanuel Vadot cache-size = <(256 * 1024)>; 63*f126890aSEmmanuel Vadot cache-sets = <256>; 64*f126890aSEmmanuel Vadot cache-line-size = <128>; 65*f126890aSEmmanuel Vadot cache-level = <2>; 66*f126890aSEmmanuel Vadot }; 67*f126890aSEmmanuel Vadot 68*f126890aSEmmanuel Vadot spi: spi@54006000 { 69*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-scssi"; 70*f126890aSEmmanuel Vadot status = "disabled"; 71*f126890aSEmmanuel Vadot reg = <0x54006000 0x100>; 72*f126890aSEmmanuel Vadot #address-cells = <1>; 73*f126890aSEmmanuel Vadot #size-cells = <0>; 74*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 75*f126890aSEmmanuel Vadot pinctrl-names = "default"; 76*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_spi0>; 77*f126890aSEmmanuel Vadot clocks = <&peri_clk 11>; 78*f126890aSEmmanuel Vadot resets = <&peri_rst 11>; 79*f126890aSEmmanuel Vadot }; 80*f126890aSEmmanuel Vadot 81*f126890aSEmmanuel Vadot serial0: serial@54006800 { 82*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-uart"; 83*f126890aSEmmanuel Vadot status = "disabled"; 84*f126890aSEmmanuel Vadot reg = <0x54006800 0x40>; 85*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 86*f126890aSEmmanuel Vadot pinctrl-names = "default"; 87*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart0>; 88*f126890aSEmmanuel Vadot clocks = <&peri_clk 0>; 89*f126890aSEmmanuel Vadot resets = <&peri_rst 0>; 90*f126890aSEmmanuel Vadot }; 91*f126890aSEmmanuel Vadot 92*f126890aSEmmanuel Vadot serial1: serial@54006900 { 93*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-uart"; 94*f126890aSEmmanuel Vadot status = "disabled"; 95*f126890aSEmmanuel Vadot reg = <0x54006900 0x40>; 96*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 97*f126890aSEmmanuel Vadot pinctrl-names = "default"; 98*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 99*f126890aSEmmanuel Vadot clocks = <&peri_clk 1>; 100*f126890aSEmmanuel Vadot resets = <&peri_rst 1>; 101*f126890aSEmmanuel Vadot }; 102*f126890aSEmmanuel Vadot 103*f126890aSEmmanuel Vadot serial2: serial@54006a00 { 104*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-uart"; 105*f126890aSEmmanuel Vadot status = "disabled"; 106*f126890aSEmmanuel Vadot reg = <0x54006a00 0x40>; 107*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 108*f126890aSEmmanuel Vadot pinctrl-names = "default"; 109*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart2>; 110*f126890aSEmmanuel Vadot clocks = <&peri_clk 2>; 111*f126890aSEmmanuel Vadot resets = <&peri_rst 2>; 112*f126890aSEmmanuel Vadot }; 113*f126890aSEmmanuel Vadot 114*f126890aSEmmanuel Vadot serial3: serial@54006b00 { 115*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-uart"; 116*f126890aSEmmanuel Vadot status = "disabled"; 117*f126890aSEmmanuel Vadot reg = <0x54006b00 0x40>; 118*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 119*f126890aSEmmanuel Vadot pinctrl-names = "default"; 120*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 121*f126890aSEmmanuel Vadot clocks = <&peri_clk 3>; 122*f126890aSEmmanuel Vadot resets = <&peri_rst 3>; 123*f126890aSEmmanuel Vadot }; 124*f126890aSEmmanuel Vadot 125*f126890aSEmmanuel Vadot gpio: gpio@55000000 { 126*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-gpio"; 127*f126890aSEmmanuel Vadot reg = <0x55000000 0x200>; 128*f126890aSEmmanuel Vadot interrupt-parent = <&aidet>; 129*f126890aSEmmanuel Vadot interrupt-controller; 130*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 131*f126890aSEmmanuel Vadot gpio-controller; 132*f126890aSEmmanuel Vadot #gpio-cells = <2>; 133*f126890aSEmmanuel Vadot gpio-ranges = <&pinctrl 0 0 0>, 134*f126890aSEmmanuel Vadot <&pinctrl 104 0 0>, 135*f126890aSEmmanuel Vadot <&pinctrl 112 0 0>; 136*f126890aSEmmanuel Vadot gpio-ranges-group-names = "gpio_range0", 137*f126890aSEmmanuel Vadot "gpio_range1", 138*f126890aSEmmanuel Vadot "gpio_range2"; 139*f126890aSEmmanuel Vadot ngpios = <136>; 140*f126890aSEmmanuel Vadot socionext,interrupt-ranges = <0 48 13>, <14 62 2>; 141*f126890aSEmmanuel Vadot }; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot i2c0: i2c@58400000 { 144*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-i2c"; 145*f126890aSEmmanuel Vadot status = "disabled"; 146*f126890aSEmmanuel Vadot reg = <0x58400000 0x40>; 147*f126890aSEmmanuel Vadot #address-cells = <1>; 148*f126890aSEmmanuel Vadot #size-cells = <0>; 149*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>; 150*f126890aSEmmanuel Vadot pinctrl-names = "default"; 151*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c0>; 152*f126890aSEmmanuel Vadot clocks = <&peri_clk 4>; 153*f126890aSEmmanuel Vadot resets = <&peri_rst 4>; 154*f126890aSEmmanuel Vadot clock-frequency = <100000>; 155*f126890aSEmmanuel Vadot }; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot i2c1: i2c@58480000 { 158*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-i2c"; 159*f126890aSEmmanuel Vadot status = "disabled"; 160*f126890aSEmmanuel Vadot reg = <0x58480000 0x40>; 161*f126890aSEmmanuel Vadot #address-cells = <1>; 162*f126890aSEmmanuel Vadot #size-cells = <0>; 163*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>; 164*f126890aSEmmanuel Vadot pinctrl-names = "default"; 165*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 166*f126890aSEmmanuel Vadot clocks = <&peri_clk 5>; 167*f126890aSEmmanuel Vadot resets = <&peri_rst 5>; 168*f126890aSEmmanuel Vadot clock-frequency = <100000>; 169*f126890aSEmmanuel Vadot }; 170*f126890aSEmmanuel Vadot 171*f126890aSEmmanuel Vadot /* chip-internal connection for DMD */ 172*f126890aSEmmanuel Vadot i2c2: i2c@58500000 { 173*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-i2c"; 174*f126890aSEmmanuel Vadot reg = <0x58500000 0x40>; 175*f126890aSEmmanuel Vadot #address-cells = <1>; 176*f126890aSEmmanuel Vadot #size-cells = <0>; 177*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>; 178*f126890aSEmmanuel Vadot pinctrl-names = "default"; 179*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 180*f126890aSEmmanuel Vadot clocks = <&peri_clk 6>; 181*f126890aSEmmanuel Vadot resets = <&peri_rst 6>; 182*f126890aSEmmanuel Vadot clock-frequency = <400000>; 183*f126890aSEmmanuel Vadot }; 184*f126890aSEmmanuel Vadot 185*f126890aSEmmanuel Vadot i2c3: i2c@58580000 { 186*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-i2c"; 187*f126890aSEmmanuel Vadot status = "disabled"; 188*f126890aSEmmanuel Vadot reg = <0x58580000 0x40>; 189*f126890aSEmmanuel Vadot #address-cells = <1>; 190*f126890aSEmmanuel Vadot #size-cells = <0>; 191*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>; 192*f126890aSEmmanuel Vadot pinctrl-names = "default"; 193*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c3>; 194*f126890aSEmmanuel Vadot clocks = <&peri_clk 7>; 195*f126890aSEmmanuel Vadot resets = <&peri_rst 7>; 196*f126890aSEmmanuel Vadot clock-frequency = <100000>; 197*f126890aSEmmanuel Vadot }; 198*f126890aSEmmanuel Vadot 199*f126890aSEmmanuel Vadot system_bus: system-bus@58c00000 { 200*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-system-bus"; 201*f126890aSEmmanuel Vadot status = "disabled"; 202*f126890aSEmmanuel Vadot reg = <0x58c00000 0x400>; 203*f126890aSEmmanuel Vadot #address-cells = <2>; 204*f126890aSEmmanuel Vadot #size-cells = <1>; 205*f126890aSEmmanuel Vadot pinctrl-names = "default"; 206*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_system_bus>; 207*f126890aSEmmanuel Vadot }; 208*f126890aSEmmanuel Vadot 209*f126890aSEmmanuel Vadot smpctrl@59801000 { 210*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-smpctrl"; 211*f126890aSEmmanuel Vadot reg = <0x59801000 0x400>; 212*f126890aSEmmanuel Vadot }; 213*f126890aSEmmanuel Vadot 214*f126890aSEmmanuel Vadot mioctrl: syscon@59810000 { 215*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-mioctrl", 216*f126890aSEmmanuel Vadot "simple-mfd", "syscon"; 217*f126890aSEmmanuel Vadot reg = <0x59810000 0x800>; 218*f126890aSEmmanuel Vadot 219*f126890aSEmmanuel Vadot mio_clk: clock-controller { 220*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-mio-clock"; 221*f126890aSEmmanuel Vadot #clock-cells = <1>; 222*f126890aSEmmanuel Vadot }; 223*f126890aSEmmanuel Vadot 224*f126890aSEmmanuel Vadot mio_rst: reset-controller { 225*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-mio-reset"; 226*f126890aSEmmanuel Vadot #reset-cells = <1>; 227*f126890aSEmmanuel Vadot }; 228*f126890aSEmmanuel Vadot }; 229*f126890aSEmmanuel Vadot 230*f126890aSEmmanuel Vadot syscon@59820000 { 231*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-perictrl", 232*f126890aSEmmanuel Vadot "simple-mfd", "syscon"; 233*f126890aSEmmanuel Vadot reg = <0x59820000 0x200>; 234*f126890aSEmmanuel Vadot 235*f126890aSEmmanuel Vadot peri_clk: clock-controller { 236*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-peri-clock"; 237*f126890aSEmmanuel Vadot #clock-cells = <1>; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot 240*f126890aSEmmanuel Vadot peri_rst: reset-controller { 241*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-peri-reset"; 242*f126890aSEmmanuel Vadot #reset-cells = <1>; 243*f126890aSEmmanuel Vadot }; 244*f126890aSEmmanuel Vadot }; 245*f126890aSEmmanuel Vadot 246*f126890aSEmmanuel Vadot dmac: dma-controller@5a000000 { 247*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-mio-dmac"; 248*f126890aSEmmanuel Vadot reg = <0x5a000000 0x1000>; 249*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 250*f126890aSEmmanuel Vadot <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 251*f126890aSEmmanuel Vadot <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, 252*f126890aSEmmanuel Vadot <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 253*f126890aSEmmanuel Vadot <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, 254*f126890aSEmmanuel Vadot <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 255*f126890aSEmmanuel Vadot <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 256*f126890aSEmmanuel Vadot clocks = <&mio_clk 7>; 257*f126890aSEmmanuel Vadot resets = <&mio_rst 7>; 258*f126890aSEmmanuel Vadot #dma-cells = <1>; 259*f126890aSEmmanuel Vadot }; 260*f126890aSEmmanuel Vadot 261*f126890aSEmmanuel Vadot sd: mmc@5a400000 { 262*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sd-v2.91"; 263*f126890aSEmmanuel Vadot status = "disabled"; 264*f126890aSEmmanuel Vadot reg = <0x5a400000 0x200>; 265*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; 266*f126890aSEmmanuel Vadot pinctrl-names = "default", "uhs"; 267*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_sd>; 268*f126890aSEmmanuel Vadot pinctrl-1 = <&pinctrl_sd_uhs>; 269*f126890aSEmmanuel Vadot clocks = <&mio_clk 0>; 270*f126890aSEmmanuel Vadot reset-names = "host", "bridge"; 271*f126890aSEmmanuel Vadot resets = <&mio_rst 0>, <&mio_rst 3>; 272*f126890aSEmmanuel Vadot dma-names = "rx-tx"; 273*f126890aSEmmanuel Vadot dmas = <&dmac 4>; 274*f126890aSEmmanuel Vadot bus-width = <4>; 275*f126890aSEmmanuel Vadot cap-sd-highspeed; 276*f126890aSEmmanuel Vadot sd-uhs-sdr12; 277*f126890aSEmmanuel Vadot sd-uhs-sdr25; 278*f126890aSEmmanuel Vadot sd-uhs-sdr50; 279*f126890aSEmmanuel Vadot socionext,syscon-uhs-mode = <&mioctrl 0>; 280*f126890aSEmmanuel Vadot }; 281*f126890aSEmmanuel Vadot 282*f126890aSEmmanuel Vadot emmc: mmc@5a500000 { 283*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sd-v2.91"; 284*f126890aSEmmanuel Vadot status = "disabled"; 285*f126890aSEmmanuel Vadot reg = <0x5a500000 0x200>; 286*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 287*f126890aSEmmanuel Vadot pinctrl-names = "default"; 288*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_emmc>; 289*f126890aSEmmanuel Vadot clocks = <&mio_clk 1>; 290*f126890aSEmmanuel Vadot reset-names = "host", "bridge", "hw"; 291*f126890aSEmmanuel Vadot resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>; 292*f126890aSEmmanuel Vadot dma-names = "rx-tx"; 293*f126890aSEmmanuel Vadot dmas = <&dmac 6>; 294*f126890aSEmmanuel Vadot bus-width = <8>; 295*f126890aSEmmanuel Vadot cap-mmc-highspeed; 296*f126890aSEmmanuel Vadot cap-mmc-hw-reset; 297*f126890aSEmmanuel Vadot non-removable; 298*f126890aSEmmanuel Vadot }; 299*f126890aSEmmanuel Vadot 300*f126890aSEmmanuel Vadot usb0: usb@5a800100 { 301*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-ehci", "generic-ehci"; 302*f126890aSEmmanuel Vadot status = "disabled"; 303*f126890aSEmmanuel Vadot reg = <0x5a800100 0x100>; 304*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; 305*f126890aSEmmanuel Vadot pinctrl-names = "default"; 306*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usb0>; 307*f126890aSEmmanuel Vadot clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, 308*f126890aSEmmanuel Vadot <&mio_clk 12>; 309*f126890aSEmmanuel Vadot resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, 310*f126890aSEmmanuel Vadot <&mio_rst 12>; 311*f126890aSEmmanuel Vadot has-transaction-translator; 312*f126890aSEmmanuel Vadot }; 313*f126890aSEmmanuel Vadot 314*f126890aSEmmanuel Vadot usb1: usb@5a810100 { 315*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-ehci", "generic-ehci"; 316*f126890aSEmmanuel Vadot status = "disabled"; 317*f126890aSEmmanuel Vadot reg = <0x5a810100 0x100>; 318*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 319*f126890aSEmmanuel Vadot pinctrl-names = "default"; 320*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usb1>; 321*f126890aSEmmanuel Vadot clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, 322*f126890aSEmmanuel Vadot <&mio_clk 13>; 323*f126890aSEmmanuel Vadot resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, 324*f126890aSEmmanuel Vadot <&mio_rst 13>; 325*f126890aSEmmanuel Vadot has-transaction-translator; 326*f126890aSEmmanuel Vadot }; 327*f126890aSEmmanuel Vadot 328*f126890aSEmmanuel Vadot usb2: usb@5a820100 { 329*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-ehci", "generic-ehci"; 330*f126890aSEmmanuel Vadot status = "disabled"; 331*f126890aSEmmanuel Vadot reg = <0x5a820100 0x100>; 332*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 333*f126890aSEmmanuel Vadot pinctrl-names = "default"; 334*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usb2>; 335*f126890aSEmmanuel Vadot clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>, 336*f126890aSEmmanuel Vadot <&mio_clk 14>; 337*f126890aSEmmanuel Vadot resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, 338*f126890aSEmmanuel Vadot <&mio_rst 14>; 339*f126890aSEmmanuel Vadot has-transaction-translator; 340*f126890aSEmmanuel Vadot }; 341*f126890aSEmmanuel Vadot 342*f126890aSEmmanuel Vadot syscon@5f800000 { 343*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-soc-glue", 344*f126890aSEmmanuel Vadot "simple-mfd", "syscon"; 345*f126890aSEmmanuel Vadot reg = <0x5f800000 0x2000>; 346*f126890aSEmmanuel Vadot 347*f126890aSEmmanuel Vadot pinctrl: pinctrl { 348*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-pinctrl"; 349*f126890aSEmmanuel Vadot }; 350*f126890aSEmmanuel Vadot }; 351*f126890aSEmmanuel Vadot 352*f126890aSEmmanuel Vadot syscon@5f900000 { 353*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-soc-glue-debug", 354*f126890aSEmmanuel Vadot "simple-mfd", "syscon"; 355*f126890aSEmmanuel Vadot reg = <0x5f900000 0x2000>; 356*f126890aSEmmanuel Vadot #address-cells = <1>; 357*f126890aSEmmanuel Vadot #size-cells = <1>; 358*f126890aSEmmanuel Vadot ranges = <0 0x5f900000 0x2000>; 359*f126890aSEmmanuel Vadot 360*f126890aSEmmanuel Vadot efuse@100 { 361*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-efuse"; 362*f126890aSEmmanuel Vadot reg = <0x100 0x28>; 363*f126890aSEmmanuel Vadot }; 364*f126890aSEmmanuel Vadot 365*f126890aSEmmanuel Vadot efuse@200 { 366*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-efuse"; 367*f126890aSEmmanuel Vadot reg = <0x200 0x14>; 368*f126890aSEmmanuel Vadot }; 369*f126890aSEmmanuel Vadot }; 370*f126890aSEmmanuel Vadot 371*f126890aSEmmanuel Vadot timer@60000200 { 372*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9-global-timer"; 373*f126890aSEmmanuel Vadot reg = <0x60000200 0x20>; 374*f126890aSEmmanuel Vadot interrupts = <GIC_PPI 11 375*f126890aSEmmanuel Vadot (GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>; 376*f126890aSEmmanuel Vadot clocks = <&arm_timer_clk>; 377*f126890aSEmmanuel Vadot }; 378*f126890aSEmmanuel Vadot 379*f126890aSEmmanuel Vadot timer@60000600 { 380*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9-twd-timer"; 381*f126890aSEmmanuel Vadot reg = <0x60000600 0x20>; 382*f126890aSEmmanuel Vadot interrupts = <GIC_PPI 13 383*f126890aSEmmanuel Vadot (GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>; 384*f126890aSEmmanuel Vadot clocks = <&arm_timer_clk>; 385*f126890aSEmmanuel Vadot }; 386*f126890aSEmmanuel Vadot 387*f126890aSEmmanuel Vadot intc: interrupt-controller@60001000 { 388*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9-gic"; 389*f126890aSEmmanuel Vadot reg = <0x60001000 0x1000>, 390*f126890aSEmmanuel Vadot <0x60000100 0x100>; 391*f126890aSEmmanuel Vadot #interrupt-cells = <3>; 392*f126890aSEmmanuel Vadot interrupt-controller; 393*f126890aSEmmanuel Vadot }; 394*f126890aSEmmanuel Vadot 395*f126890aSEmmanuel Vadot aidet: interrupt-controller@61830000 { 396*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-aidet"; 397*f126890aSEmmanuel Vadot reg = <0x61830000 0x200>; 398*f126890aSEmmanuel Vadot interrupt-controller; 399*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 400*f126890aSEmmanuel Vadot }; 401*f126890aSEmmanuel Vadot 402*f126890aSEmmanuel Vadot syscon@61840000 { 403*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-sysctrl", 404*f126890aSEmmanuel Vadot "simple-mfd", "syscon"; 405*f126890aSEmmanuel Vadot reg = <0x61840000 0x10000>; 406*f126890aSEmmanuel Vadot 407*f126890aSEmmanuel Vadot sys_clk: clock-controller { 408*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-clock"; 409*f126890aSEmmanuel Vadot #clock-cells = <1>; 410*f126890aSEmmanuel Vadot }; 411*f126890aSEmmanuel Vadot 412*f126890aSEmmanuel Vadot sys_rst: reset-controller { 413*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-sld8-reset"; 414*f126890aSEmmanuel Vadot #reset-cells = <1>; 415*f126890aSEmmanuel Vadot }; 416*f126890aSEmmanuel Vadot }; 417*f126890aSEmmanuel Vadot 418*f126890aSEmmanuel Vadot nand: nand-controller@68000000 { 419*f126890aSEmmanuel Vadot compatible = "socionext,uniphier-denali-nand-v5a"; 420*f126890aSEmmanuel Vadot status = "disabled"; 421*f126890aSEmmanuel Vadot reg-names = "nand_data", "denali_reg"; 422*f126890aSEmmanuel Vadot reg = <0x68000000 0x20>, <0x68100000 0x1000>; 423*f126890aSEmmanuel Vadot #address-cells = <1>; 424*f126890aSEmmanuel Vadot #size-cells = <0>; 425*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 426*f126890aSEmmanuel Vadot pinctrl-names = "default"; 427*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand>; 428*f126890aSEmmanuel Vadot clock-names = "nand", "nand_x", "ecc"; 429*f126890aSEmmanuel Vadot clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>; 430*f126890aSEmmanuel Vadot reset-names = "nand", "reg"; 431*f126890aSEmmanuel Vadot resets = <&sys_rst 2>, <&sys_rst 2>; 432*f126890aSEmmanuel Vadot }; 433*f126890aSEmmanuel Vadot }; 434*f126890aSEmmanuel Vadot}; 435*f126890aSEmmanuel Vadot 436*f126890aSEmmanuel Vadot#include "uniphier-pinctrl.dtsi" 437