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 YIC System SMDC110 board.
0011  *
0012  * NOTE: This file is completely based on original board file for mach-smdkc110
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 = "YIC System SMDKC110 based on S5PC110";
0023         compatible = "yic,smdkc110", "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 &i2c0 {
0069         status = "okay";
0070 
0071         audio-codec@1b {
0072                 compatible = "wlf,wm8580";
0073                 reg = <0x1b>;
0074         };
0075 
0076         eeprom@50 {
0077                 compatible = "atmel,24c08";
0078                 reg = <0x50>;
0079         };
0080 };
0081 
0082 &i2s0 {
0083         status = "okay";
0084 };