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