Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Samsung's S5PV210 SoC device tree source
0004  *
0005  * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
0006  *
0007  * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
0008  * Tomasz Figa <t.figa@samsung.com>
0009  *
0010  * Board device tree source for Torbreck board.
0011  *
0012  * NOTE: This file is completely based on original board file for mach-torbreck
0013  * available in Linux 3.15 and intends to provide equivalent level of hardware
0014  * support. Due to lack of hardware, _no_ testing has been performed.
0015  */
0016 
0017 /dts-v1/;
0018 #include <dt-bindings/input/input.h>
0019 #include "s5pv210.dtsi"
0020 
0021 / {
0022         model = "aESOP Torbreck based on S5PV210";
0023         compatible = "aesop,torbreck", "samsung,s5pv210";
0024 
0025         chosen {
0026                 bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
0027         };
0028 
0029         memory@20000000 {
0030                 device_type = "memory";
0031                 reg = <0x20000000 0x20000000>;
0032         };
0033 
0034         pmic_ap_clk: clock-0 {
0035                 /* Workaround for missing PMIC and its clock */
0036                 compatible = "fixed-clock";
0037                 #clock-cells = <0>;
0038                 clock-frequency = <32768>;
0039         };
0040 };
0041 
0042 &xusbxti {
0043         clock-frequency = <24000000>;
0044 };
0045 
0046 &uart0 {
0047         status = "okay";
0048 };
0049 
0050 &uart1 {
0051         status = "okay";
0052 };
0053 
0054 &uart2 {
0055         status = "okay";
0056 };
0057 
0058 &uart3 {
0059         status = "okay";
0060 };
0061 
0062 &rtc {
0063         status = "okay";
0064         clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>;
0065         clock-names = "rtc", "rtc_src";
0066 };
0067 
0068 &sdhci0 {
0069         bus-width = <4>;
0070         pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus1 &sd0_bus4>;
0071         pinctrl-names = "default";
0072         status = "okay";
0073 };
0074 
0075 &sdhci1 {
0076         bus-width = <4>;
0077         pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus1 &sd1_bus4>;
0078         pinctrl-names = "default";
0079         status = "okay";
0080 };
0081 
0082 &sdhci2 {
0083         bus-width = <4>;
0084         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4>;
0085         pinctrl-names = "default";
0086         status = "okay";
0087 };
0088 
0089 &sdhci3 {
0090         bus-width = <4>;
0091         pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_cd &sd3_bus1 &sd3_bus4>;
0092         pinctrl-names = "default";
0093         status = "okay";
0094 };
0095 
0096 &i2s0 {
0097         status = "okay";
0098 };