Linux Audio

Check our new training course

Loading...
v5.4
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Samsung's S3C24XX family device tree source
 4 *
 5 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
 
 
 
 
 6 */
 7
 
 
 8/ {
 9	compatible = "samsung,s3c24xx";
10	interrupt-parent = <&intc>;
11	#address-cells = <1>;
12	#size-cells = <1>;
13
14	aliases {
15		pinctrl0 = &pinctrl_0;
16		serial0 = &uart0;
17		serial1 = &uart1;
18		serial2 = &uart2;
19	};
20
21	intc:interrupt-controller@4a000000 {
22		compatible = "samsung,s3c2410-irq";
23		reg = <0x4a000000 0x100>;
24		interrupt-controller;
25		#interrupt-cells = <4>;
26	};
27
28	pinctrl_0: pinctrl@56000000 {
29		reg = <0x56000000 0x1000>;
30
31		wakeup-interrupt-controller {
32			compatible = "samsung,s3c2410-wakeup-eint";
33			interrupts = <0 0 0 3>,
34				     <0 0 1 3>,
35				     <0 0 2 3>,
36				     <0 0 3 3>,
37				     <0 0 4 4>,
38				     <0 0 5 4>;
39		};
40	};
41
42	timer@51000000 {
43		compatible = "samsung,s3c2410-pwm";
44		reg = <0x51000000 0x1000>;
45		interrupts = <0 0 10 3>, <0 0 11 3>, <0 0 12 3>, <0 0 13 3>, <0 0 14 3>;
46		#pwm-cells = <4>;
47	};
48
49	uart0: serial@50000000 {
50		compatible = "samsung,s3c2410-uart";
51		reg = <0x50000000 0x4000>;
52		interrupts = <1 28 0 4>, <1 28 1 4>;
53		status = "disabled";
54	};
55
56	uart1: serial@50004000 {
57		compatible = "samsung,s3c2410-uart";
58		reg = <0x50004000 0x4000>;
59		interrupts = <1 23 3 4>, <1 23 4 4>;
60		status = "disabled";
61	};
62
63	uart2: serial@50008000 {
64		compatible = "samsung,s3c2410-uart";
65		reg = <0x50008000 0x4000>;
66		interrupts = <1 15 6 4>, <1 15 7 4>;
67		status = "disabled";
68	};
69
70	watchdog@53000000 {
71		compatible = "samsung,s3c2410-wdt";
72		reg = <0x53000000 0x100>;
73		interrupts = <0 0 9 3>;
74		status = "disabled";
75	};
76
77	rtc@57000000 {
78		compatible = "samsung,s3c2410-rtc";
79		reg = <0x57000000 0x100>;
80		interrupts = <0 0 30 3>, <0 0 8 3>;
81		status = "disabled";
82	};
83
84	i2c@54000000 {
85		compatible = "samsung,s3c2410-i2c";
86		reg = <0x54000000 0x100>;
87		interrupts = <0 0 27 3>;
88		#address-cells = <1>;
89		#size-cells = <0>;
90		status = "disabled";
91	};
92};
v4.10.11
 
 1/*
 2 * Samsung's S3C24XX family device tree source
 3 *
 4 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
 5 *
 6 * This program is free software; you can redistribute it and/or modify
 7 * it under the terms of the GNU General Public License version 2 as
 8 * published by the Free Software Foundation.
 9 */
10
11#include "skeleton.dtsi"
12
13/ {
14	compatible = "samsung,s3c24xx";
15	interrupt-parent = <&intc>;
 
 
16
17	aliases {
18		pinctrl0 = &pinctrl_0;
19		serial0 = &uart0;
20		serial1 = &uart1;
21		serial2 = &uart2;
22	};
23
24	intc:interrupt-controller@4a000000 {
25		compatible = "samsung,s3c2410-irq";
26		reg = <0x4a000000 0x100>;
27		interrupt-controller;
28		#interrupt-cells = <4>;
29	};
30
31	pinctrl_0: pinctrl@56000000 {
32		reg = <0x56000000 0x1000>;
33
34		wakeup-interrupt-controller {
35			compatible = "samsung,s3c2410-wakeup-eint";
36			interrupts = <0 0 0 3>,
37				     <0 0 1 3>,
38				     <0 0 2 3>,
39				     <0 0 3 3>,
40				     <0 0 4 4>,
41				     <0 0 5 4>;
42		};
43	};
44
45	timer@51000000 {
46		compatible = "samsung,s3c2410-pwm";
47		reg = <0x51000000 0x1000>;
48		interrupts = <0 0 10 3>, <0 0 11 3>, <0 0 12 3>, <0 0 13 3>, <0 0 14 3>;
49		#pwm-cells = <4>;
50	};
51
52	uart0: serial@50000000 {
53		compatible = "samsung,s3c2410-uart";
54		reg = <0x50000000 0x4000>;
55		interrupts = <1 28 0 4>, <1 28 1 4>;
56		status = "disabled";
57	};
58
59	uart1: serial@50004000 {
60		compatible = "samsung,s3c2410-uart";
61		reg = <0x50004000 0x4000>;
62		interrupts = <1 23 3 4>, <1 23 4 4>;
63		status = "disabled";
64	};
65
66	uart2: serial@50008000 {
67		compatible = "samsung,s3c2410-uart";
68		reg = <0x50008000 0x4000>;
69		interrupts = <1 15 6 4>, <1 15 7 4>;
70		status = "disabled";
71	};
72
73	watchdog@53000000 {
74		compatible = "samsung,s3c2410-wdt";
75		reg = <0x53000000 0x100>;
76		interrupts = <0 0 9 3>;
77		status = "disabled";
78	};
79
80	rtc@57000000 {
81		compatible = "samsung,s3c2410-rtc";
82		reg = <0x57000000 0x100>;
83		interrupts = <0 0 30 3>, <0 0 8 3>;
84		status = "disabled";
85	};
86
87	i2c@54000000 {
88		compatible = "samsung,s3c2410-i2c";
89		reg = <0x54000000 0x100>;
90		interrupts = <0 0 27 3>;
91		#address-cells = <1>;
92		#size-cells = <0>;
93		status = "disabled";
94	};
95};