1b9024cbcSNaveen Krishna Ch/* 2b9024cbcSNaveen Krishna Ch * SAMSUNG EXYNOS7 SoC device tree source 3b9024cbcSNaveen Krishna Ch * 4b9024cbcSNaveen Krishna Ch * Copyright (c) 2014 Samsung Electronics Co., Ltd. 5b9024cbcSNaveen Krishna Ch * http://www.samsung.com 6b9024cbcSNaveen Krishna Ch * 7b9024cbcSNaveen Krishna Ch * This program is free software; you can redistribute it and/or modify 8b9024cbcSNaveen Krishna Ch * it under the terms of the GNU General Public License version 2 as 9b9024cbcSNaveen Krishna Ch * published by the Free Software Foundation. 10b9024cbcSNaveen Krishna Ch */ 11b9024cbcSNaveen Krishna Ch 12b9024cbcSNaveen Krishna Ch#include <dt-bindings/clock/exynos7-clk.h> 13b9024cbcSNaveen Krishna Ch 14b9024cbcSNaveen Krishna Ch/ { 15b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos7"; 16b9024cbcSNaveen Krishna Ch interrupt-parent = <&gic>; 17b9024cbcSNaveen Krishna Ch #address-cells = <2>; 18b9024cbcSNaveen Krishna Ch #size-cells = <2>; 19b9024cbcSNaveen Krishna Ch 20f17a618bSNaveen Krishna Ch aliases { 21f17a618bSNaveen Krishna Ch pinctrl0 = &pinctrl_alive; 22f17a618bSNaveen Krishna Ch pinctrl1 = &pinctrl_bus0; 23f17a618bSNaveen Krishna Ch pinctrl2 = &pinctrl_nfc; 24f17a618bSNaveen Krishna Ch pinctrl3 = &pinctrl_touch; 25f17a618bSNaveen Krishna Ch pinctrl4 = &pinctrl_ff; 26f17a618bSNaveen Krishna Ch pinctrl5 = &pinctrl_ese; 27f17a618bSNaveen Krishna Ch pinctrl6 = &pinctrl_fsys0; 28f17a618bSNaveen Krishna Ch pinctrl7 = &pinctrl_fsys1; 29f17a618bSNaveen Krishna Ch }; 30f17a618bSNaveen Krishna Ch 31b9024cbcSNaveen Krishna Ch cpus { 32b9024cbcSNaveen Krishna Ch #address-cells = <1>; 33b9024cbcSNaveen Krishna Ch #size-cells = <0>; 34b9024cbcSNaveen Krishna Ch 35b9024cbcSNaveen Krishna Ch cpu@0 { 36b9024cbcSNaveen Krishna Ch device_type = "cpu"; 37b9024cbcSNaveen Krishna Ch compatible = "arm,cortex-a57", "arm,armv8"; 38b9024cbcSNaveen Krishna Ch reg = <0x0>; 39b9024cbcSNaveen Krishna Ch enable-method = "psci"; 40b9024cbcSNaveen Krishna Ch }; 41b9024cbcSNaveen Krishna Ch 42b9024cbcSNaveen Krishna Ch cpu@1 { 43b9024cbcSNaveen Krishna Ch device_type = "cpu"; 44b9024cbcSNaveen Krishna Ch compatible = "arm,cortex-a57", "arm,armv8"; 45b9024cbcSNaveen Krishna Ch reg = <0x1>; 46b9024cbcSNaveen Krishna Ch enable-method = "psci"; 47b9024cbcSNaveen Krishna Ch }; 48b9024cbcSNaveen Krishna Ch 49b9024cbcSNaveen Krishna Ch cpu@2 { 50b9024cbcSNaveen Krishna Ch device_type = "cpu"; 51b9024cbcSNaveen Krishna Ch compatible = "arm,cortex-a57", "arm,armv8"; 52b9024cbcSNaveen Krishna Ch reg = <0x2>; 53b9024cbcSNaveen Krishna Ch enable-method = "psci"; 54b9024cbcSNaveen Krishna Ch }; 55b9024cbcSNaveen Krishna Ch 56b9024cbcSNaveen Krishna Ch cpu@3 { 57b9024cbcSNaveen Krishna Ch device_type = "cpu"; 58b9024cbcSNaveen Krishna Ch compatible = "arm,cortex-a57", "arm,armv8"; 59b9024cbcSNaveen Krishna Ch reg = <0x3>; 60b9024cbcSNaveen Krishna Ch enable-method = "psci"; 61b9024cbcSNaveen Krishna Ch }; 62b9024cbcSNaveen Krishna Ch }; 63b9024cbcSNaveen Krishna Ch 64b9024cbcSNaveen Krishna Ch psci { 65b9024cbcSNaveen Krishna Ch compatible = "arm,psci-0.2"; 66b9024cbcSNaveen Krishna Ch method = "smc"; 67b9024cbcSNaveen Krishna Ch }; 68b9024cbcSNaveen Krishna Ch 69b9024cbcSNaveen Krishna Ch soc: soc { 70b9024cbcSNaveen Krishna Ch compatible = "simple-bus"; 71b9024cbcSNaveen Krishna Ch #address-cells = <1>; 72b9024cbcSNaveen Krishna Ch #size-cells = <1>; 73b9024cbcSNaveen Krishna Ch ranges = <0 0 0 0x18000000>; 74b9024cbcSNaveen Krishna Ch 75b9024cbcSNaveen Krishna Ch chipid@10000000 { 76b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos4210-chipid"; 77b9024cbcSNaveen Krishna Ch reg = <0x10000000 0x100>; 78b9024cbcSNaveen Krishna Ch }; 79b9024cbcSNaveen Krishna Ch 80b9024cbcSNaveen Krishna Ch fin_pll: xxti { 81b9024cbcSNaveen Krishna Ch compatible = "fixed-clock"; 82b9024cbcSNaveen Krishna Ch clock-output-names = "fin_pll"; 83b9024cbcSNaveen Krishna Ch #clock-cells = <0>; 84b9024cbcSNaveen Krishna Ch }; 85b9024cbcSNaveen Krishna Ch 86b9024cbcSNaveen Krishna Ch gic: interrupt-controller@11001000 { 87b9024cbcSNaveen Krishna Ch compatible = "arm,gic-400"; 88b9024cbcSNaveen Krishna Ch #interrupt-cells = <3>; 89b9024cbcSNaveen Krishna Ch #address-cells = <0>; 90b9024cbcSNaveen Krishna Ch interrupt-controller; 91b9024cbcSNaveen Krishna Ch reg = <0x11001000 0x1000>, 92b9024cbcSNaveen Krishna Ch <0x11002000 0x1000>, 93b9024cbcSNaveen Krishna Ch <0x11004000 0x2000>, 94b9024cbcSNaveen Krishna Ch <0x11006000 0x2000>; 95b9024cbcSNaveen Krishna Ch }; 96b9024cbcSNaveen Krishna Ch 97b9024cbcSNaveen Krishna Ch clock_topc: clock-controller@10570000 { 98b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos7-clock-topc"; 99b9024cbcSNaveen Krishna Ch reg = <0x10570000 0x10000>; 100b9024cbcSNaveen Krishna Ch #clock-cells = <1>; 101b9024cbcSNaveen Krishna Ch }; 102b9024cbcSNaveen Krishna Ch 103b9024cbcSNaveen Krishna Ch clock_top0: clock-controller@105d0000 { 104b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos7-clock-top0"; 105b9024cbcSNaveen Krishna Ch reg = <0x105d0000 0xb000>; 106b9024cbcSNaveen Krishna Ch #clock-cells = <1>; 107b9024cbcSNaveen Krishna Ch clocks = <&fin_pll>, <&clock_topc DOUT_SCLK_BUS0_PLL>, 108b9024cbcSNaveen Krishna Ch <&clock_topc DOUT_SCLK_BUS1_PLL>, 109b9024cbcSNaveen Krishna Ch <&clock_topc DOUT_SCLK_CC_PLL>, 110b9024cbcSNaveen Krishna Ch <&clock_topc DOUT_SCLK_MFC_PLL>; 111b9024cbcSNaveen Krishna Ch clock-names = "fin_pll", "dout_sclk_bus0_pll", 112b9024cbcSNaveen Krishna Ch "dout_sclk_bus1_pll", "dout_sclk_cc_pll", 113b9024cbcSNaveen Krishna Ch "dout_sclk_mfc_pll"; 114b9024cbcSNaveen Krishna Ch }; 115b9024cbcSNaveen Krishna Ch 116b9024cbcSNaveen Krishna Ch clock_peric0: clock-controller@13610000 { 117b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos7-clock-peric0"; 118b9024cbcSNaveen Krishna Ch reg = <0x13610000 0xd00>; 119b9024cbcSNaveen Krishna Ch #clock-cells = <1>; 120b9024cbcSNaveen Krishna Ch clocks = <&fin_pll>, <&clock_top0 DOUT_ACLK_PERIC0>, 121b9024cbcSNaveen Krishna Ch <&clock_top0 CLK_SCLK_UART0>; 122b9024cbcSNaveen Krishna Ch clock-names = "fin_pll", "dout_aclk_peric0_66", 123b9024cbcSNaveen Krishna Ch "sclk_uart0"; 124b9024cbcSNaveen Krishna Ch }; 125b9024cbcSNaveen Krishna Ch 126b9024cbcSNaveen Krishna Ch clock_peric1: clock-controller@14c80000 { 127b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos7-clock-peric1"; 128b9024cbcSNaveen Krishna Ch reg = <0x14c80000 0xd00>; 129b9024cbcSNaveen Krishna Ch #clock-cells = <1>; 130b9024cbcSNaveen Krishna Ch clocks = <&fin_pll>, <&clock_top0 DOUT_ACLK_PERIC1>, 131b9024cbcSNaveen Krishna Ch <&clock_top0 CLK_SCLK_UART1>, 132b9024cbcSNaveen Krishna Ch <&clock_top0 CLK_SCLK_UART2>, 133b9024cbcSNaveen Krishna Ch <&clock_top0 CLK_SCLK_UART3>; 134b9024cbcSNaveen Krishna Ch clock-names = "fin_pll", "dout_aclk_peric1_66", 135b9024cbcSNaveen Krishna Ch "sclk_uart1", "sclk_uart2", "sclk_uart3"; 136b9024cbcSNaveen Krishna Ch }; 137b9024cbcSNaveen Krishna Ch 138b9024cbcSNaveen Krishna Ch clock_peris: clock-controller@10040000 { 139b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos7-clock-peris"; 140b9024cbcSNaveen Krishna Ch reg = <0x10040000 0xd00>; 141b9024cbcSNaveen Krishna Ch #clock-cells = <1>; 142b9024cbcSNaveen Krishna Ch clocks = <&fin_pll>, <&clock_topc DOUT_ACLK_PERIS>; 143b9024cbcSNaveen Krishna Ch clock-names = "fin_pll", "dout_aclk_peris_66"; 144b9024cbcSNaveen Krishna Ch }; 145b9024cbcSNaveen Krishna Ch 146b9024cbcSNaveen Krishna Ch serial_0: serial@13630000 { 147b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos4210-uart"; 148b9024cbcSNaveen Krishna Ch reg = <0x13630000 0x100>; 149b9024cbcSNaveen Krishna Ch interrupts = <0 440 0>; 150b9024cbcSNaveen Krishna Ch clocks = <&clock_peric0 PCLK_UART0>, 151b9024cbcSNaveen Krishna Ch <&clock_peric0 SCLK_UART0>; 152b9024cbcSNaveen Krishna Ch clock-names = "uart", "clk_uart_baud0"; 153b9024cbcSNaveen Krishna Ch status = "disabled"; 154b9024cbcSNaveen Krishna Ch }; 155b9024cbcSNaveen Krishna Ch 156b9024cbcSNaveen Krishna Ch serial_1: serial@14c20000 { 157b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos4210-uart"; 158b9024cbcSNaveen Krishna Ch reg = <0x14c20000 0x100>; 159b9024cbcSNaveen Krishna Ch interrupts = <0 456 0>; 160b9024cbcSNaveen Krishna Ch clocks = <&clock_peric1 PCLK_UART1>, 161b9024cbcSNaveen Krishna Ch <&clock_peric1 SCLK_UART1>; 162b9024cbcSNaveen Krishna Ch clock-names = "uart", "clk_uart_baud0"; 163b9024cbcSNaveen Krishna Ch status = "disabled"; 164b9024cbcSNaveen Krishna Ch }; 165b9024cbcSNaveen Krishna Ch 166b9024cbcSNaveen Krishna Ch serial_2: serial@14c30000 { 167b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos4210-uart"; 168b9024cbcSNaveen Krishna Ch reg = <0x14c30000 0x100>; 169b9024cbcSNaveen Krishna Ch interrupts = <0 457 0>; 170b9024cbcSNaveen Krishna Ch clocks = <&clock_peric1 PCLK_UART2>, 171b9024cbcSNaveen Krishna Ch <&clock_peric1 SCLK_UART2>; 172b9024cbcSNaveen Krishna Ch clock-names = "uart", "clk_uart_baud0"; 173b9024cbcSNaveen Krishna Ch status = "disabled"; 174b9024cbcSNaveen Krishna Ch }; 175b9024cbcSNaveen Krishna Ch 176b9024cbcSNaveen Krishna Ch serial_3: serial@14c40000 { 177b9024cbcSNaveen Krishna Ch compatible = "samsung,exynos4210-uart"; 178b9024cbcSNaveen Krishna Ch reg = <0x14c40000 0x100>; 179b9024cbcSNaveen Krishna Ch interrupts = <0 458 0>; 180b9024cbcSNaveen Krishna Ch clocks = <&clock_peric1 PCLK_UART3>, 181b9024cbcSNaveen Krishna Ch <&clock_peric1 SCLK_UART3>; 182b9024cbcSNaveen Krishna Ch clock-names = "uart", "clk_uart_baud0"; 183b9024cbcSNaveen Krishna Ch status = "disabled"; 184b9024cbcSNaveen Krishna Ch }; 185b9024cbcSNaveen Krishna Ch 186f17a618bSNaveen Krishna Ch pinctrl_alive: pinctrl@10580000 { 187f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 188f17a618bSNaveen Krishna Ch reg = <0x10580000 0x1000>; 189f17a618bSNaveen Krishna Ch 190f17a618bSNaveen Krishna Ch wakeup-interrupt-controller { 191f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-wakeup-eint"; 192f17a618bSNaveen Krishna Ch interrupt-parent = <&gic>; 193f17a618bSNaveen Krishna Ch interrupts = <0 16 0>; 194f17a618bSNaveen Krishna Ch }; 195f17a618bSNaveen Krishna Ch }; 196f17a618bSNaveen Krishna Ch 197f17a618bSNaveen Krishna Ch pinctrl_bus0: pinctrl@13470000 { 198f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 199f17a618bSNaveen Krishna Ch reg = <0x13470000 0x1000>; 200f17a618bSNaveen Krishna Ch interrupts = <0 383 0>; 201f17a618bSNaveen Krishna Ch }; 202f17a618bSNaveen Krishna Ch 203f17a618bSNaveen Krishna Ch pinctrl_nfc: pinctrl@14cd0000 { 204f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 205f17a618bSNaveen Krishna Ch reg = <0x14cd0000 0x1000>; 206f17a618bSNaveen Krishna Ch interrupts = <0 473 0>; 207f17a618bSNaveen Krishna Ch }; 208f17a618bSNaveen Krishna Ch 209f17a618bSNaveen Krishna Ch pinctrl_touch: pinctrl@14ce0000 { 210f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 211f17a618bSNaveen Krishna Ch reg = <0x14ce0000 0x1000>; 212f17a618bSNaveen Krishna Ch interrupts = <0 474 0>; 213f17a618bSNaveen Krishna Ch }; 214f17a618bSNaveen Krishna Ch 215f17a618bSNaveen Krishna Ch pinctrl_ff: pinctrl@14c90000 { 216f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 217f17a618bSNaveen Krishna Ch reg = <0x14c90000 0x1000>; 218f17a618bSNaveen Krishna Ch interrupts = <0 475 0>; 219f17a618bSNaveen Krishna Ch }; 220f17a618bSNaveen Krishna Ch 221f17a618bSNaveen Krishna Ch pinctrl_ese: pinctrl@14ca0000 { 222f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 223f17a618bSNaveen Krishna Ch reg = <0x14ca0000 0x1000>; 224f17a618bSNaveen Krishna Ch interrupts = <0 476 0>; 225f17a618bSNaveen Krishna Ch }; 226f17a618bSNaveen Krishna Ch 227f17a618bSNaveen Krishna Ch pinctrl_fsys0: pinctrl@10e60000 { 228f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 229f17a618bSNaveen Krishna Ch reg = <0x10e60000 0x1000>; 230f17a618bSNaveen Krishna Ch interrupts = <0 221 0>; 231f17a618bSNaveen Krishna Ch }; 232f17a618bSNaveen Krishna Ch 233f17a618bSNaveen Krishna Ch pinctrl_fsys1: pinctrl@15690000 { 234f17a618bSNaveen Krishna Ch compatible = "samsung,exynos7-pinctrl"; 235f17a618bSNaveen Krishna Ch reg = <0x15690000 0x1000>; 236f17a618bSNaveen Krishna Ch interrupts = <0 203 0>; 237f17a618bSNaveen Krishna Ch }; 238f17a618bSNaveen Krishna Ch 239b9024cbcSNaveen Krishna Ch timer { 240b9024cbcSNaveen Krishna Ch compatible = "arm,armv8-timer"; 241b9024cbcSNaveen Krishna Ch interrupts = <1 13 0xff01>, 242b9024cbcSNaveen Krishna Ch <1 14 0xff01>, 243b9024cbcSNaveen Krishna Ch <1 11 0xff01>, 244b9024cbcSNaveen Krishna Ch <1 10 0xff01>; 245b9024cbcSNaveen Krishna Ch }; 246*0a7d1d80SAbhilash Kesavan 247*0a7d1d80SAbhilash Kesavan pmu_system_controller: system-controller@105c0000 { 248*0a7d1d80SAbhilash Kesavan compatible = "samsung,exynos7-pmu", "syscon"; 249*0a7d1d80SAbhilash Kesavan reg = <0x105c0000 0x5000>; 250*0a7d1d80SAbhilash Kesavan }; 251b9024cbcSNaveen Krishna Ch }; 252b9024cbcSNaveen Krishna Ch}; 253f17a618bSNaveen Krishna Ch 254f17a618bSNaveen Krishna Ch#include "exynos7-pinctrl.dtsi" 255