1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Samsung's Exynos54xx SoC series common device tree source 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 6*724ba675SRob Herring * http://www.samsung.com 7*724ba675SRob Herring * Copyright (c) 2016 Krzysztof Kozlowski 8*724ba675SRob Herring * 9*724ba675SRob Herring * Device nodes common for Samsung Exynos5410/5420/5422/5800. Specific 10*724ba675SRob Herring * Exynos 54xx SoCs should include this file and customize it further 11*724ba675SRob Herring * (e.g. with clocks). 12*724ba675SRob Herring */ 13*724ba675SRob Herring 14*724ba675SRob Herring#include "exynos5.dtsi" 15*724ba675SRob Herring 16*724ba675SRob Herring/ { 17*724ba675SRob Herring compatible = "samsung,exynos5"; 18*724ba675SRob Herring 19*724ba675SRob Herring aliases { 20*724ba675SRob Herring i2c4 = &hsi2c_4; 21*724ba675SRob Herring i2c5 = &hsi2c_5; 22*724ba675SRob Herring i2c6 = &hsi2c_6; 23*724ba675SRob Herring i2c7 = &hsi2c_7; 24*724ba675SRob Herring usbdrdphy0 = &usbdrd_phy0; 25*724ba675SRob Herring usbdrdphy1 = &usbdrd_phy1; 26*724ba675SRob Herring }; 27*724ba675SRob Herring 28*724ba675SRob Herring arm_a7_pmu: arm-a7-pmu { 29*724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 30*724ba675SRob Herring interrupt-parent = <&gic>; 31*724ba675SRob Herring interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, 32*724ba675SRob Herring <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, 33*724ba675SRob Herring <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, 34*724ba675SRob Herring <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; 35*724ba675SRob Herring status = "disabled"; 36*724ba675SRob Herring }; 37*724ba675SRob Herring 38*724ba675SRob Herring arm_a15_pmu: arm-a15-pmu { 39*724ba675SRob Herring compatible = "arm,cortex-a15-pmu"; 40*724ba675SRob Herring interrupt-parent = <&combiner>; 41*724ba675SRob Herring interrupts = <1 2>, 42*724ba675SRob Herring <7 0>, 43*724ba675SRob Herring <16 6>, 44*724ba675SRob Herring <19 2>; 45*724ba675SRob Herring status = "disabled"; 46*724ba675SRob Herring }; 47*724ba675SRob Herring 48*724ba675SRob Herring timer: timer { 49*724ba675SRob Herring compatible = "arm,armv7-timer"; 50*724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 51*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 52*724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 53*724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 54*724ba675SRob Herring clock-frequency = <24000000>; 55*724ba675SRob Herring }; 56*724ba675SRob Herring 57*724ba675SRob Herring soc: soc { 58*724ba675SRob Herring sram@2020000 { 59*724ba675SRob Herring compatible = "mmio-sram"; 60*724ba675SRob Herring reg = <0x02020000 0x54000>; 61*724ba675SRob Herring #address-cells = <1>; 62*724ba675SRob Herring #size-cells = <1>; 63*724ba675SRob Herring ranges = <0 0x02020000 0x54000>; 64*724ba675SRob Herring 65*724ba675SRob Herring smp-sram@0 { 66*724ba675SRob Herring compatible = "samsung,exynos4210-sysram"; 67*724ba675SRob Herring reg = <0x0 0x1000>; 68*724ba675SRob Herring }; 69*724ba675SRob Herring 70*724ba675SRob Herring smp-sram@53000 { 71*724ba675SRob Herring compatible = "samsung,exynos4210-sysram-ns"; 72*724ba675SRob Herring reg = <0x53000 0x1000>; 73*724ba675SRob Herring }; 74*724ba675SRob Herring }; 75*724ba675SRob Herring 76*724ba675SRob Herring mct: timer@101c0000 { 77*724ba675SRob Herring compatible = "samsung,exynos5420-mct", 78*724ba675SRob Herring "samsung,exynos4210-mct"; 79*724ba675SRob Herring reg = <0x101c0000 0xb00>; 80*724ba675SRob Herring interrupts-extended = <&combiner 23 3>, 81*724ba675SRob Herring <&combiner 23 4>, 82*724ba675SRob Herring <&combiner 25 2>, 83*724ba675SRob Herring <&combiner 25 3>, 84*724ba675SRob Herring <&gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 85*724ba675SRob Herring <&gic GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 86*724ba675SRob Herring <&gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 87*724ba675SRob Herring <&gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 88*724ba675SRob Herring <&gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, 89*724ba675SRob Herring <&gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, 90*724ba675SRob Herring <&gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, 91*724ba675SRob Herring <&gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; 92*724ba675SRob Herring }; 93*724ba675SRob Herring 94*724ba675SRob Herring watchdog: watchdog@101d0000 { 95*724ba675SRob Herring compatible = "samsung,exynos5420-wdt"; 96*724ba675SRob Herring reg = <0x101d0000 0x100>; 97*724ba675SRob Herring interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 98*724ba675SRob Herring }; 99*724ba675SRob Herring 100*724ba675SRob Herring adc: adc@12d10000 { 101*724ba675SRob Herring compatible = "samsung,exynos-adc-v2"; 102*724ba675SRob Herring reg = <0x12d10000 0x100>; 103*724ba675SRob Herring interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 104*724ba675SRob Herring #io-channel-cells = <1>; 105*724ba675SRob Herring status = "disabled"; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring /* i2c_0-3 are defined in exynos5.dtsi */ 109*724ba675SRob Herring hsi2c_4: i2c@12ca0000 { 110*724ba675SRob Herring compatible = "samsung,exynos5250-hsi2c"; 111*724ba675SRob Herring reg = <0x12ca0000 0x1000>; 112*724ba675SRob Herring interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 113*724ba675SRob Herring #address-cells = <1>; 114*724ba675SRob Herring #size-cells = <0>; 115*724ba675SRob Herring status = "disabled"; 116*724ba675SRob Herring }; 117*724ba675SRob Herring 118*724ba675SRob Herring hsi2c_5: i2c@12cb0000 { 119*724ba675SRob Herring compatible = "samsung,exynos5250-hsi2c"; 120*724ba675SRob Herring reg = <0x12cb0000 0x1000>; 121*724ba675SRob Herring interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 122*724ba675SRob Herring #address-cells = <1>; 123*724ba675SRob Herring #size-cells = <0>; 124*724ba675SRob Herring status = "disabled"; 125*724ba675SRob Herring }; 126*724ba675SRob Herring 127*724ba675SRob Herring hsi2c_6: i2c@12cc0000 { 128*724ba675SRob Herring compatible = "samsung,exynos5250-hsi2c"; 129*724ba675SRob Herring reg = <0x12cc0000 0x1000>; 130*724ba675SRob Herring interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 131*724ba675SRob Herring #address-cells = <1>; 132*724ba675SRob Herring #size-cells = <0>; 133*724ba675SRob Herring status = "disabled"; 134*724ba675SRob Herring }; 135*724ba675SRob Herring 136*724ba675SRob Herring hsi2c_7: i2c@12cd0000 { 137*724ba675SRob Herring compatible = "samsung,exynos5250-hsi2c"; 138*724ba675SRob Herring reg = <0x12cd0000 0x1000>; 139*724ba675SRob Herring interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 140*724ba675SRob Herring #address-cells = <1>; 141*724ba675SRob Herring #size-cells = <0>; 142*724ba675SRob Herring status = "disabled"; 143*724ba675SRob Herring }; 144*724ba675SRob Herring 145*724ba675SRob Herring usbdrd3_0: usb@12000000 { 146*724ba675SRob Herring compatible = "samsung,exynos5250-dwusb3"; 147*724ba675SRob Herring #address-cells = <1>; 148*724ba675SRob Herring #size-cells = <1>; 149*724ba675SRob Herring ranges = <0x0 0x12000000 0x10000>; 150*724ba675SRob Herring 151*724ba675SRob Herring usbdrd_dwc3_0: usb@0 { 152*724ba675SRob Herring compatible = "snps,dwc3"; 153*724ba675SRob Herring reg = <0x0 0x10000>; 154*724ba675SRob Herring interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 155*724ba675SRob Herring phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; 156*724ba675SRob Herring phy-names = "usb2-phy", "usb3-phy"; 157*724ba675SRob Herring snps,dis_u3_susphy_quirk; 158*724ba675SRob Herring }; 159*724ba675SRob Herring }; 160*724ba675SRob Herring 161*724ba675SRob Herring usbdrd_phy0: phy@12100000 { 162*724ba675SRob Herring compatible = "samsung,exynos5420-usbdrd-phy"; 163*724ba675SRob Herring reg = <0x12100000 0x100>; 164*724ba675SRob Herring #phy-cells = <1>; 165*724ba675SRob Herring }; 166*724ba675SRob Herring 167*724ba675SRob Herring usbdrd3_1: usb@12400000 { 168*724ba675SRob Herring compatible = "samsung,exynos5250-dwusb3"; 169*724ba675SRob Herring #address-cells = <1>; 170*724ba675SRob Herring #size-cells = <1>; 171*724ba675SRob Herring ranges = <0x0 0x12400000 0x10000>; 172*724ba675SRob Herring 173*724ba675SRob Herring usbdrd_dwc3_1: usb@0 { 174*724ba675SRob Herring compatible = "snps,dwc3"; 175*724ba675SRob Herring reg = <0x0 0x10000>; 176*724ba675SRob Herring phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>; 177*724ba675SRob Herring phy-names = "usb2-phy", "usb3-phy"; 178*724ba675SRob Herring snps,dis_u3_susphy_quirk; 179*724ba675SRob Herring }; 180*724ba675SRob Herring }; 181*724ba675SRob Herring 182*724ba675SRob Herring usbdrd_phy1: phy@12500000 { 183*724ba675SRob Herring compatible = "samsung,exynos5420-usbdrd-phy"; 184*724ba675SRob Herring reg = <0x12500000 0x100>; 185*724ba675SRob Herring #phy-cells = <1>; 186*724ba675SRob Herring }; 187*724ba675SRob Herring 188*724ba675SRob Herring usbhost2: usb@12110000 { 189*724ba675SRob Herring compatible = "samsung,exynos4210-ehci"; 190*724ba675SRob Herring reg = <0x12110000 0x100>; 191*724ba675SRob Herring interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 192*724ba675SRob Herring phys = <&usb2_phy 0>; 193*724ba675SRob Herring phy-names = "host"; 194*724ba675SRob Herring }; 195*724ba675SRob Herring 196*724ba675SRob Herring usbhost1: usb@12120000 { 197*724ba675SRob Herring compatible = "samsung,exynos4210-ohci"; 198*724ba675SRob Herring reg = <0x12120000 0x100>; 199*724ba675SRob Herring interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 200*724ba675SRob Herring phys = <&usb2_phy 0>; 201*724ba675SRob Herring phy-names = "host"; 202*724ba675SRob Herring }; 203*724ba675SRob Herring 204*724ba675SRob Herring usb2_phy: phy@12130000 { 205*724ba675SRob Herring compatible = "samsung,exynos5420-usb2-phy"; 206*724ba675SRob Herring reg = <0x12130000 0x100>; 207*724ba675SRob Herring #phy-cells = <1>; 208*724ba675SRob Herring }; 209*724ba675SRob Herring }; 210*724ba675SRob Herring}; 211