blob: 80f0075503246336adf448cee3c3398959fbe3dd [file] [log] [blame]
Heiko Stuebner35aca362013-05-21 01:06:04 +09001/*
2 * Samsung's S3C2416 SoC device tree source
3 *
4 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
Heiko Stuebner8cb28742014-02-19 09:26:17 +090011#include <dt-bindings/clock/s3c2443.h>
Padmavathi Venna37992792013-06-18 00:02:08 +090012#include "s3c24xx.dtsi"
13#include "s3c2416-pinctrl.dtsi"
Heiko Stuebner35aca362013-05-21 01:06:04 +090014
15/ {
16 model = "Samsung S3C2416 SoC";
17 compatible = "samsung,s3c2416";
18
Tomasz Figa1e64f482014-06-26 13:24:35 +020019 aliases {
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +090020 serial3 = &uart_3;
Tomasz Figa1e64f482014-06-26 13:24:35 +020021 };
22
Heiko Stuebner35aca362013-05-21 01:06:04 +090023 cpus {
24 #address-cells = <1>;
25 #size-cells = <0>;
26
27 cpu {
Vladimir Zapolskiy6716f6c2015-09-25 20:35:32 +030028 compatible = "arm,arm926ej-s";
Heiko Stuebner35aca362013-05-21 01:06:04 +090029 };
30 };
31
32 interrupt-controller@4a000000 {
33 compatible = "samsung,s3c2416-irq";
34 };
35
Heiko Stuebner8cb28742014-02-19 09:26:17 +090036 clocks: clock-controller@0x4c000000 {
37 compatible = "samsung,s3c2416-clock";
38 reg = <0x4c000000 0x40>;
39 #clock-cells = <1>;
40 };
41
Heiko Stuebner35aca362013-05-21 01:06:04 +090042 pinctrl@56000000 {
43 compatible = "samsung,s3c2416-pinctrl";
44 };
45
Heiko Stuebner8cb28742014-02-19 09:26:17 +090046 timer@51000000 {
47 clocks = <&clocks PCLK_PWM>;
48 clock-names = "timers";
49 };
50
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +090051 uart_0: serial@50000000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +090052 compatible = "samsung,s3c2440-uart";
Heiko Stuebner8cb28742014-02-19 09:26:17 +090053 clock-names = "uart", "clk_uart_baud2",
54 "clk_uart_baud3";
55 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
56 <&clocks SCLK_UART>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090057 };
58
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +090059 uart_1: serial@50004000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +090060 compatible = "samsung,s3c2440-uart";
Heiko Stuebner8cb28742014-02-19 09:26:17 +090061 clock-names = "uart", "clk_uart_baud2",
62 "clk_uart_baud3";
63 clocks = <&clocks PCLK_UART1>, <&clocks PCLK_UART1>,
64 <&clocks SCLK_UART>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090065 };
66
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +090067 uart_2: serial@50008000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +090068 compatible = "samsung,s3c2440-uart";
Heiko Stuebner8cb28742014-02-19 09:26:17 +090069 clock-names = "uart", "clk_uart_baud2",
70 "clk_uart_baud3";
71 clocks = <&clocks PCLK_UART2>, <&clocks PCLK_UART2>,
72 <&clocks SCLK_UART>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090073 };
74
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +090075 uart_3: serial@5000C000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +090076 compatible = "samsung,s3c2440-uart";
77 reg = <0x5000C000 0x4000>;
78 interrupts = <1 18 24 4>, <1 18 25 4>;
Heiko Stuebner8cb28742014-02-19 09:26:17 +090079 clock-names = "uart", "clk_uart_baud2",
80 "clk_uart_baud3";
81 clocks = <&clocks PCLK_UART3>, <&clocks PCLK_UART3>,
82 <&clocks SCLK_UART>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090083 status = "disabled";
84 };
85
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +090086 sdhci_1: sdhci@4AC00000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +090087 compatible = "samsung,s3c6410-sdhci";
88 reg = <0x4AC00000 0x100>;
89 interrupts = <0 0 21 3>;
Heiko Stuebner8cb28742014-02-19 09:26:17 +090090 clock-names = "hsmmc", "mmc_busclk.0",
91 "mmc_busclk.2";
92 clocks = <&clocks HCLK_HSMMC0>, <&clocks HCLK_HSMMC0>,
93 <&clocks MUX_HSMMC0>;
Heiko Stuebner35aca362013-05-21 01:06:04 +090094 status = "disabled";
95 };
96
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +090097 sdhci_0: sdhci@4A800000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +090098 compatible = "samsung,s3c6410-sdhci";
99 reg = <0x4A800000 0x100>;
100 interrupts = <0 0 20 3>;
Heiko Stuebner8cb28742014-02-19 09:26:17 +0900101 clock-names = "hsmmc", "mmc_busclk.0",
102 "mmc_busclk.2";
103 clocks = <&clocks HCLK_HSMMC1>, <&clocks HCLK_HSMMC1>,
104 <&clocks MUX_HSMMC1>;
Heiko Stuebner35aca362013-05-21 01:06:04 +0900105 status = "disabled";
106 };
107
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +0900108 watchdog: watchdog@53000000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +0900109 interrupts = <1 9 27 3>;
Heiko Stuebner8cb28742014-02-19 09:26:17 +0900110 clocks = <&clocks PCLK_WDT>;
111 clock-names = "watchdog";
Heiko Stuebner35aca362013-05-21 01:06:04 +0900112 };
113
Krzysztof Kozlowski3ae9d922015-04-17 21:35:54 +0900114 rtc: rtc@57000000 {
Heiko Stuebner35aca362013-05-21 01:06:04 +0900115 compatible = "samsung,s3c2416-rtc";
Heiko Stuebner8cb28742014-02-19 09:26:17 +0900116 clocks = <&clocks PCLK_RTC>;
117 clock-names = "rtc";
Heiko Stuebner35aca362013-05-21 01:06:04 +0900118 };
119
120 i2c@54000000 {
121 compatible = "samsung,s3c2440-i2c";
Heiko Stuebner8cb28742014-02-19 09:26:17 +0900122 clocks = <&clocks PCLK_I2C0>;
123 clock-names = "i2c";
Heiko Stuebner35aca362013-05-21 01:06:04 +0900124 };
125};