xref: /freebsd-src/sys/contrib/device-tree/src/arm/samsung/s3c6410.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Samsung's S3C6410 SoC device tree source
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
6*f126890aSEmmanuel Vadot *
7*f126890aSEmmanuel Vadot * Samsung's S3C6410 SoC device nodes are listed in this file. S3C6410
8*f126890aSEmmanuel Vadot * based board files can include this file and provide values for board specific
9*f126890aSEmmanuel Vadot * bindings.
10*f126890aSEmmanuel Vadot *
11*f126890aSEmmanuel Vadot * Note: This file does not include device nodes for all the controllers in
12*f126890aSEmmanuel Vadot * S3C6410 SoC. As device tree coverage for S3C6410 increases, additional
13*f126890aSEmmanuel Vadot * nodes can be added to this file.
14*f126890aSEmmanuel Vadot */
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot#include "s3c64xx.dtsi"
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot/ {
19*f126890aSEmmanuel Vadot	compatible = "samsung,s3c6410";
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	aliases {
22*f126890aSEmmanuel Vadot		i2c1 = &i2c1;
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot};
25*f126890aSEmmanuel Vadot
26*f126890aSEmmanuel Vadot&vic0 {
27*f126890aSEmmanuel Vadot	valid-mask = <0xffffff7f>;
28*f126890aSEmmanuel Vadot	valid-wakeup-mask = <0x00200004>;
29*f126890aSEmmanuel Vadot};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot&vic1 {
32*f126890aSEmmanuel Vadot	valid-mask = <0xffffffff>;
33*f126890aSEmmanuel Vadot	valid-wakeup-mask = <0x53020000>;
34*f126890aSEmmanuel Vadot};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot&soc {
37*f126890aSEmmanuel Vadot	clocks: clock-controller@7e00f000 {
38*f126890aSEmmanuel Vadot		compatible = "samsung,s3c6410-clock";
39*f126890aSEmmanuel Vadot		reg = <0x7e00f000 0x1000>;
40*f126890aSEmmanuel Vadot		#clock-cells = <1>;
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	i2c1: i2c@7f00f000 {
44*f126890aSEmmanuel Vadot		compatible = "samsung,s3c2440-i2c";
45*f126890aSEmmanuel Vadot		reg = <0x7f00f000 0x1000>;
46*f126890aSEmmanuel Vadot		interrupt-parent = <&vic0>;
47*f126890aSEmmanuel Vadot		interrupts = <5>;
48*f126890aSEmmanuel Vadot		clock-names = "i2c";
49*f126890aSEmmanuel Vadot		clocks = <&clocks PCLK_IIC1>;
50*f126890aSEmmanuel Vadot		status = "disabled";
51*f126890aSEmmanuel Vadot		#address-cells = <1>;
52*f126890aSEmmanuel Vadot		#size-cells = <0>;
53*f126890aSEmmanuel Vadot	};
54*f126890aSEmmanuel Vadot};
55