162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Samsung's Exynos5 SoC series common device tree source 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 662306a36Sopenharmony_ci * http://www.samsung.com 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci * Samsung's Exynos5 SoC series device nodes are listed in this file. Particular 962306a36Sopenharmony_ci * SoCs from Exynos5 series can include this file and provide values for SoCs 1062306a36Sopenharmony_ci * specific bindings. 1162306a36Sopenharmony_ci */ 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#include <dt-bindings/interrupt-controller/arm-gic.h> 1462306a36Sopenharmony_ci#include <dt-bindings/interrupt-controller/irq.h> 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci/ { 1762306a36Sopenharmony_ci interrupt-parent = <&gic>; 1862306a36Sopenharmony_ci #address-cells = <1>; 1962306a36Sopenharmony_ci #size-cells = <1>; 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci aliases { 2262306a36Sopenharmony_ci i2c0 = &i2c_0; 2362306a36Sopenharmony_ci i2c1 = &i2c_1; 2462306a36Sopenharmony_ci i2c2 = &i2c_2; 2562306a36Sopenharmony_ci i2c3 = &i2c_3; 2662306a36Sopenharmony_ci serial0 = &serial_0; 2762306a36Sopenharmony_ci serial1 = &serial_1; 2862306a36Sopenharmony_ci serial2 = &serial_2; 2962306a36Sopenharmony_ci serial3 = &serial_3; 3062306a36Sopenharmony_ci }; 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci soc: soc { 3362306a36Sopenharmony_ci compatible = "simple-bus"; 3462306a36Sopenharmony_ci #address-cells = <1>; 3562306a36Sopenharmony_ci #size-cells = <1>; 3662306a36Sopenharmony_ci ranges; 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci chipid: chipid@10000000 { 3962306a36Sopenharmony_ci compatible = "samsung,exynos4210-chipid"; 4062306a36Sopenharmony_ci reg = <0x10000000 0x100>; 4162306a36Sopenharmony_ci }; 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci sromc: memory-controller@12250000 { 4462306a36Sopenharmony_ci compatible = "samsung,exynos4210-srom"; 4562306a36Sopenharmony_ci reg = <0x12250000 0x14>; 4662306a36Sopenharmony_ci }; 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ci combiner: interrupt-controller@10440000 { 4962306a36Sopenharmony_ci compatible = "samsung,exynos4210-combiner"; 5062306a36Sopenharmony_ci #interrupt-cells = <2>; 5162306a36Sopenharmony_ci interrupt-controller; 5262306a36Sopenharmony_ci samsung,combiner-nr = <32>; 5362306a36Sopenharmony_ci reg = <0x10440000 0x1000>; 5462306a36Sopenharmony_ci interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 5562306a36Sopenharmony_ci <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 5662306a36Sopenharmony_ci <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 5762306a36Sopenharmony_ci <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 5862306a36Sopenharmony_ci <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 5962306a36Sopenharmony_ci <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 6062306a36Sopenharmony_ci <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 6162306a36Sopenharmony_ci <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 6262306a36Sopenharmony_ci <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 6362306a36Sopenharmony_ci <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 6462306a36Sopenharmony_ci <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 6562306a36Sopenharmony_ci <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 6662306a36Sopenharmony_ci <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 6762306a36Sopenharmony_ci <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, 6862306a36Sopenharmony_ci <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, 6962306a36Sopenharmony_ci <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, 7062306a36Sopenharmony_ci <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, 7162306a36Sopenharmony_ci <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 7262306a36Sopenharmony_ci <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 7362306a36Sopenharmony_ci <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 7462306a36Sopenharmony_ci <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 7562306a36Sopenharmony_ci <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 7662306a36Sopenharmony_ci <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 7762306a36Sopenharmony_ci <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>, 7862306a36Sopenharmony_ci <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>, 7962306a36Sopenharmony_ci <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>, 8062306a36Sopenharmony_ci <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>, 8162306a36Sopenharmony_ci <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>, 8262306a36Sopenharmony_ci <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, 8362306a36Sopenharmony_ci <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 8462306a36Sopenharmony_ci <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>, 8562306a36Sopenharmony_ci <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 8662306a36Sopenharmony_ci }; 8762306a36Sopenharmony_ci 8862306a36Sopenharmony_ci gic: interrupt-controller@10481000 { 8962306a36Sopenharmony_ci compatible = "arm,gic-400", "arm,cortex-a15-gic"; 9062306a36Sopenharmony_ci #interrupt-cells = <3>; 9162306a36Sopenharmony_ci interrupt-controller; 9262306a36Sopenharmony_ci reg = <0x10481000 0x1000>, 9362306a36Sopenharmony_ci <0x10482000 0x2000>, 9462306a36Sopenharmony_ci <0x10484000 0x2000>, 9562306a36Sopenharmony_ci <0x10486000 0x2000>; 9662306a36Sopenharmony_ci interrupts = <GIC_PPI 9 9762306a36Sopenharmony_ci (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 9862306a36Sopenharmony_ci }; 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ci sysreg_system_controller: syscon@10050000 { 10162306a36Sopenharmony_ci compatible = "samsung,exynos5-sysreg", "syscon"; 10262306a36Sopenharmony_ci reg = <0x10050000 0x5000>; 10362306a36Sopenharmony_ci }; 10462306a36Sopenharmony_ci 10562306a36Sopenharmony_ci serial_0: serial@12c00000 { 10662306a36Sopenharmony_ci compatible = "samsung,exynos4210-uart"; 10762306a36Sopenharmony_ci reg = <0x12c00000 0x100>; 10862306a36Sopenharmony_ci interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; 10962306a36Sopenharmony_ci }; 11062306a36Sopenharmony_ci 11162306a36Sopenharmony_ci serial_1: serial@12c10000 { 11262306a36Sopenharmony_ci compatible = "samsung,exynos4210-uart"; 11362306a36Sopenharmony_ci reg = <0x12c10000 0x100>; 11462306a36Sopenharmony_ci interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 11562306a36Sopenharmony_ci }; 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci serial_2: serial@12c20000 { 11862306a36Sopenharmony_ci compatible = "samsung,exynos4210-uart"; 11962306a36Sopenharmony_ci reg = <0x12c20000 0x100>; 12062306a36Sopenharmony_ci interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; 12162306a36Sopenharmony_ci }; 12262306a36Sopenharmony_ci 12362306a36Sopenharmony_ci serial_3: serial@12c30000 { 12462306a36Sopenharmony_ci compatible = "samsung,exynos4210-uart"; 12562306a36Sopenharmony_ci reg = <0x12c30000 0x100>; 12662306a36Sopenharmony_ci interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; 12762306a36Sopenharmony_ci }; 12862306a36Sopenharmony_ci 12962306a36Sopenharmony_ci i2c_0: i2c@12c60000 { 13062306a36Sopenharmony_ci compatible = "samsung,s3c2440-i2c"; 13162306a36Sopenharmony_ci reg = <0x12c60000 0x100>; 13262306a36Sopenharmony_ci interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 13362306a36Sopenharmony_ci #address-cells = <1>; 13462306a36Sopenharmony_ci #size-cells = <0>; 13562306a36Sopenharmony_ci samsung,sysreg-phandle = <&sysreg_system_controller>; 13662306a36Sopenharmony_ci status = "disabled"; 13762306a36Sopenharmony_ci }; 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ci i2c_1: i2c@12c70000 { 14062306a36Sopenharmony_ci compatible = "samsung,s3c2440-i2c"; 14162306a36Sopenharmony_ci reg = <0x12c70000 0x100>; 14262306a36Sopenharmony_ci interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 14362306a36Sopenharmony_ci #address-cells = <1>; 14462306a36Sopenharmony_ci #size-cells = <0>; 14562306a36Sopenharmony_ci samsung,sysreg-phandle = <&sysreg_system_controller>; 14662306a36Sopenharmony_ci status = "disabled"; 14762306a36Sopenharmony_ci }; 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ci i2c_2: i2c@12c80000 { 15062306a36Sopenharmony_ci compatible = "samsung,s3c2440-i2c"; 15162306a36Sopenharmony_ci reg = <0x12c80000 0x100>; 15262306a36Sopenharmony_ci interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; 15362306a36Sopenharmony_ci #address-cells = <1>; 15462306a36Sopenharmony_ci #size-cells = <0>; 15562306a36Sopenharmony_ci samsung,sysreg-phandle = <&sysreg_system_controller>; 15662306a36Sopenharmony_ci status = "disabled"; 15762306a36Sopenharmony_ci }; 15862306a36Sopenharmony_ci 15962306a36Sopenharmony_ci i2c_3: i2c@12c90000 { 16062306a36Sopenharmony_ci compatible = "samsung,s3c2440-i2c"; 16162306a36Sopenharmony_ci reg = <0x12c90000 0x100>; 16262306a36Sopenharmony_ci interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 16362306a36Sopenharmony_ci #address-cells = <1>; 16462306a36Sopenharmony_ci #size-cells = <0>; 16562306a36Sopenharmony_ci samsung,sysreg-phandle = <&sysreg_system_controller>; 16662306a36Sopenharmony_ci status = "disabled"; 16762306a36Sopenharmony_ci }; 16862306a36Sopenharmony_ci 16962306a36Sopenharmony_ci pwm: pwm@12dd0000 { 17062306a36Sopenharmony_ci compatible = "samsung,exynos4210-pwm"; 17162306a36Sopenharmony_ci reg = <0x12dd0000 0x100>; 17262306a36Sopenharmony_ci interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 17362306a36Sopenharmony_ci <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, 17462306a36Sopenharmony_ci <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, 17562306a36Sopenharmony_ci <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 17662306a36Sopenharmony_ci <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 17762306a36Sopenharmony_ci samsung,pwm-outputs = <0>, <1>, <2>, <3>; 17862306a36Sopenharmony_ci #pwm-cells = <3>; 17962306a36Sopenharmony_ci }; 18062306a36Sopenharmony_ci 18162306a36Sopenharmony_ci rtc: rtc@101e0000 { 18262306a36Sopenharmony_ci compatible = "samsung,s3c6410-rtc"; 18362306a36Sopenharmony_ci reg = <0x101e0000 0x100>; 18462306a36Sopenharmony_ci interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, 18562306a36Sopenharmony_ci <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 18662306a36Sopenharmony_ci status = "disabled"; 18762306a36Sopenharmony_ci }; 18862306a36Sopenharmony_ci 18962306a36Sopenharmony_ci fimd: fimd@14400000 { 19062306a36Sopenharmony_ci compatible = "samsung,exynos5250-fimd"; 19162306a36Sopenharmony_ci interrupt-parent = <&combiner>; 19262306a36Sopenharmony_ci reg = <0x14400000 0x40000>; 19362306a36Sopenharmony_ci interrupt-names = "fifo", "vsync", "lcd_sys"; 19462306a36Sopenharmony_ci interrupts = <18 4>, <18 5>, <18 6>; 19562306a36Sopenharmony_ci samsung,sysreg = <&sysreg_system_controller>; 19662306a36Sopenharmony_ci status = "disabled"; 19762306a36Sopenharmony_ci }; 19862306a36Sopenharmony_ci 19962306a36Sopenharmony_ci dp: dp-controller@145b0000 { 20062306a36Sopenharmony_ci compatible = "samsung,exynos5-dp"; 20162306a36Sopenharmony_ci reg = <0x145b0000 0x1000>; 20262306a36Sopenharmony_ci interrupts = <10 3>; 20362306a36Sopenharmony_ci interrupt-parent = <&combiner>; 20462306a36Sopenharmony_ci status = "disabled"; 20562306a36Sopenharmony_ci }; 20662306a36Sopenharmony_ci 20762306a36Sopenharmony_ci sss: sss@10830000 { 20862306a36Sopenharmony_ci compatible = "samsung,exynos4210-secss"; 20962306a36Sopenharmony_ci reg = <0x10830000 0x300>; 21062306a36Sopenharmony_ci interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 21162306a36Sopenharmony_ci }; 21262306a36Sopenharmony_ci 21362306a36Sopenharmony_ci prng: rng@10830400 { 21462306a36Sopenharmony_ci compatible = "samsung,exynos5250-prng"; 21562306a36Sopenharmony_ci reg = <0x10830400 0x200>; 21662306a36Sopenharmony_ci }; 21762306a36Sopenharmony_ci 21862306a36Sopenharmony_ci trng: rng@10830600 { 21962306a36Sopenharmony_ci compatible = "samsung,exynos5250-trng"; 22062306a36Sopenharmony_ci reg = <0x10830600 0x100>; 22162306a36Sopenharmony_ci }; 22262306a36Sopenharmony_ci 22362306a36Sopenharmony_ci g2d: g2d@10850000 { 22462306a36Sopenharmony_ci compatible = "samsung,exynos5250-g2d"; 22562306a36Sopenharmony_ci reg = <0x10850000 0x1000>; 22662306a36Sopenharmony_ci interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 22762306a36Sopenharmony_ci status = "disabled"; 22862306a36Sopenharmony_ci }; 22962306a36Sopenharmony_ci }; 23062306a36Sopenharmony_ci}; 231