xref: /freebsd/sys/contrib/device-tree/src/arm/samsung/s5pv210-smdkc110.dts (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Samsung's S5PV210 SoC device tree source
4 *
5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
6 *
7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
8 * Tomasz Figa <t.figa@samsung.com>
9 *
10 * Board device tree source for YIC System SMDC110 board.
11 *
12 * NOTE: This file is completely based on original board file for mach-smdkc110
13 * available in Linux 3.15 and intends to provide equivalent level of hardware
14 * support. Due to lack of hardware, _no_ testing has been performed.
15 */
16
17/dts-v1/;
18#include <dt-bindings/input/input.h>
19#include "s5pv210.dtsi"
20
21/ {
22	model = "YIC System SMDKC110 based on S5PC110";
23	compatible = "yic,smdkc110", "samsung,s5pv210";
24
25	chosen {
26		bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
27	};
28
29	memory@20000000 {
30		device_type = "memory";
31		reg = <0x20000000 0x20000000>;
32	};
33
34	pmic_ap_clk: clock-0 {
35		/* Workaround for missing PMIC and its clock */
36		compatible = "fixed-clock";
37		#clock-cells = <0>;
38		clock-frequency = <32768>;
39	};
40};
41
42&xusbxti {
43	clock-frequency = <24000000>;
44};
45
46&uart0 {
47	status = "okay";
48};
49
50&uart1 {
51	status = "okay";
52};
53
54&uart2 {
55	status = "okay";
56};
57
58&uart3 {
59	status = "okay";
60};
61
62&rtc {
63	status = "okay";
64	clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>;
65	clock-names = "rtc", "rtc_src";
66};
67
68&i2c0 {
69	status = "okay";
70
71	audio-codec@1b {
72		compatible = "wlf,wm8580";
73		reg = <0x1b>;
74	};
75
76	eeprom@50 {
77		compatible = "atmel,24c08";
78		reg = <0x50>;
79	};
80};
81
82&i2s0 {
83	status = "okay";
84};
85