Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 1 | /* |
| 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 Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 11 | #include <dt-bindings/clock/s3c2443.h> |
Padmavathi Venna | 3799279 | 2013-06-18 00:02:08 +0900 | [diff] [blame] | 12 | #include "s3c24xx.dtsi" |
| 13 | #include "s3c2416-pinctrl.dtsi" |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Samsung S3C2416 SoC"; |
| 17 | compatible = "samsung,s3c2416"; |
| 18 | |
Tomasz Figa | 1e64f48 | 2014-06-26 13:24:35 +0200 | [diff] [blame] | 19 | aliases { |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 20 | serial3 = &uart_3; |
Tomasz Figa | 1e64f48 | 2014-06-26 13:24:35 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 23 | cpus { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <0>; |
| 26 | |
| 27 | cpu { |
Vladimir Zapolskiy | 6716f6c | 2015-09-25 20:35:32 +0300 | [diff] [blame] | 28 | compatible = "arm,arm926ej-s"; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 29 | }; |
| 30 | }; |
| 31 | |
| 32 | interrupt-controller@4a000000 { |
| 33 | compatible = "samsung,s3c2416-irq"; |
| 34 | }; |
| 35 | |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 36 | clocks: clock-controller@0x4c000000 { |
| 37 | compatible = "samsung,s3c2416-clock"; |
| 38 | reg = <0x4c000000 0x40>; |
| 39 | #clock-cells = <1>; |
| 40 | }; |
| 41 | |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 42 | pinctrl@56000000 { |
| 43 | compatible = "samsung,s3c2416-pinctrl"; |
| 44 | }; |
| 45 | |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 46 | timer@51000000 { |
| 47 | clocks = <&clocks PCLK_PWM>; |
| 48 | clock-names = "timers"; |
| 49 | }; |
| 50 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 51 | uart_0: serial@50000000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 52 | compatible = "samsung,s3c2440-uart"; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 53 | clock-names = "uart", "clk_uart_baud2", |
| 54 | "clk_uart_baud3"; |
| 55 | clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>, |
| 56 | <&clocks SCLK_UART>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 57 | }; |
| 58 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 59 | uart_1: serial@50004000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 60 | compatible = "samsung,s3c2440-uart"; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 61 | clock-names = "uart", "clk_uart_baud2", |
| 62 | "clk_uart_baud3"; |
| 63 | clocks = <&clocks PCLK_UART1>, <&clocks PCLK_UART1>, |
| 64 | <&clocks SCLK_UART>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 65 | }; |
| 66 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 67 | uart_2: serial@50008000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 68 | compatible = "samsung,s3c2440-uart"; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 69 | clock-names = "uart", "clk_uart_baud2", |
| 70 | "clk_uart_baud3"; |
| 71 | clocks = <&clocks PCLK_UART2>, <&clocks PCLK_UART2>, |
| 72 | <&clocks SCLK_UART>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 73 | }; |
| 74 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 75 | uart_3: serial@5000C000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 76 | compatible = "samsung,s3c2440-uart"; |
| 77 | reg = <0x5000C000 0x4000>; |
| 78 | interrupts = <1 18 24 4>, <1 18 25 4>; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 79 | clock-names = "uart", "clk_uart_baud2", |
| 80 | "clk_uart_baud3"; |
| 81 | clocks = <&clocks PCLK_UART3>, <&clocks PCLK_UART3>, |
| 82 | <&clocks SCLK_UART>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 83 | status = "disabled"; |
| 84 | }; |
| 85 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 86 | sdhci_1: sdhci@4AC00000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 87 | compatible = "samsung,s3c6410-sdhci"; |
| 88 | reg = <0x4AC00000 0x100>; |
| 89 | interrupts = <0 0 21 3>; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 90 | clock-names = "hsmmc", "mmc_busclk.0", |
| 91 | "mmc_busclk.2"; |
| 92 | clocks = <&clocks HCLK_HSMMC0>, <&clocks HCLK_HSMMC0>, |
| 93 | <&clocks MUX_HSMMC0>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 94 | status = "disabled"; |
| 95 | }; |
| 96 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 97 | sdhci_0: sdhci@4A800000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 98 | compatible = "samsung,s3c6410-sdhci"; |
| 99 | reg = <0x4A800000 0x100>; |
| 100 | interrupts = <0 0 20 3>; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 101 | clock-names = "hsmmc", "mmc_busclk.0", |
| 102 | "mmc_busclk.2"; |
| 103 | clocks = <&clocks HCLK_HSMMC1>, <&clocks HCLK_HSMMC1>, |
| 104 | <&clocks MUX_HSMMC1>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 105 | status = "disabled"; |
| 106 | }; |
| 107 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 108 | watchdog: watchdog@53000000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 109 | interrupts = <1 9 27 3>; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 110 | clocks = <&clocks PCLK_WDT>; |
| 111 | clock-names = "watchdog"; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 112 | }; |
| 113 | |
Krzysztof Kozlowski | 3ae9d92 | 2015-04-17 21:35:54 +0900 | [diff] [blame] | 114 | rtc: rtc@57000000 { |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 115 | compatible = "samsung,s3c2416-rtc"; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 116 | clocks = <&clocks PCLK_RTC>; |
| 117 | clock-names = "rtc"; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 118 | }; |
| 119 | |
| 120 | i2c@54000000 { |
| 121 | compatible = "samsung,s3c2440-i2c"; |
Heiko Stuebner | 8cb2874 | 2014-02-19 09:26:17 +0900 | [diff] [blame] | 122 | clocks = <&clocks PCLK_I2C0>; |
| 123 | clock-names = "i2c"; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 124 | }; |
| 125 | }; |