Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Samsung S3C6410 based SMDK6410 board device tree source.
 4 *
 5 * Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
 6 *
 7 * Device tree source file for Samsung SMDK6410 board which is based on
 8 * Samsung's S3C6410 SoC.
 9 */
10
11/dts-v1/;
12
13#include <dt-bindings/gpio/gpio.h>
14#include <dt-bindings/interrupt-controller/irq.h>
15
16#include "s3c6410.dtsi"
17
18/ {
19	model = "Samsung SMDK6410 board based on S3C6410";
20	compatible = "samsung,smdk6410", "samsung,s3c6410";
21
22	memory@50000000 {
23		device_type = "memory";
24		reg = <0x50000000 0x8000000>;
25	};
26
27	chosen {
28		bootargs = "console=ttySAC0,115200n8 earlyprintk rootwait root=/dev/mmcblk0p1";
29	};
30
31	fin_pll: oscillator-0 {
32		compatible = "fixed-clock";
33		clock-frequency = <12000000>;
34		clock-output-names = "fin_pll";
35		#clock-cells = <0>;
36	};
37
38	xusbxti: oscillator-1 {
39		compatible = "fixed-clock";
40		clock-output-names = "xusbxti";
41		clock-frequency = <48000000>;
42		#clock-cells = <0>;
 
 
 
 
 
 
 
 
 
 
43	};
44
45	srom-cs1-bus@18000000 {
46		compatible = "simple-bus";
47		#address-cells = <1>;
48		#size-cells = <1>;
49		reg = <0x18000000 0x8000000>;
50		ranges;
51
52		ethernet@18000000 {
53			compatible = "smsc,lan9115";
54			reg = <0x18000000 0x10000>;
55			interrupt-parent = <&gpn>;
56			interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
57			phy-mode = "mii";
58			reg-io-width = <4>;
59			smsc,force-internal-phy;
60		};
61	};
62};
63
64&clocks {
65	clocks = <&fin_pll>;
66};
67
68&sdhci0 {
69	pinctrl-names = "default";
70	pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
71	bus-width = <4>;
72	status = "okay";
73};
74
75&uart0 {
76	pinctrl-names = "default";
77	pinctrl-0 = <&uart0_data>, <&uart0_fctl>;
78	status = "okay";
79};
80
81&uart1 {
82	pinctrl-names = "default";
83	pinctrl-0 = <&uart1_data>;
84	status = "okay";
85};
86
87&uart2 {
88	pinctrl-names = "default";
89	pinctrl-0 = <&uart2_data>;
90	status = "okay";
91};
92
93&uart3 {
94	pinctrl-names = "default";
95	pinctrl-0 = <&uart3_data>;
96	status = "okay";
97};
v4.17
  1// SPDX-License-Identifier: GPL-2.0
  2/*
  3 * Samsung S3C6410 based SMDK6410 board device tree source.
  4 *
  5 * Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
  6 *
  7 * Device tree source file for SAMSUNG SMDK6410 board which is based on
  8 * Samsung's S3C6410 SoC.
  9 */
 10
 11/dts-v1/;
 12
 13#include <dt-bindings/gpio/gpio.h>
 14#include <dt-bindings/interrupt-controller/irq.h>
 15
 16#include "s3c6410.dtsi"
 17
 18/ {
 19	model = "SAMSUNG SMDK6410 board based on S3C6410";
 20	compatible = "samsung,mini6410", "samsung,s3c6410";
 21
 22	memory {
 
 23		reg = <0x50000000 0x8000000>;
 24	};
 25
 26	chosen {
 27		bootargs = "console=ttySAC0,115200n8 earlyprintk rootwait root=/dev/mmcblk0p1";
 28	};
 29
 30	clocks {
 31		compatible = "simple-bus";
 32		#address-cells = <1>;
 33		#size-cells = <0>;
 
 
 34
 35		fin_pll: oscillator@0 {
 36			compatible = "fixed-clock";
 37			reg = <0>;
 38			clock-frequency = <12000000>;
 39			clock-output-names = "fin_pll";
 40			#clock-cells = <0>;
 41		};
 42
 43		xusbxti: oscillator@1 {
 44			compatible = "fixed-clock";
 45			reg = <1>;
 46			clock-output-names = "xusbxti";
 47			clock-frequency = <48000000>;
 48			#clock-cells = <0>;
 49		};
 50	};
 51
 52	srom-cs1@18000000 {
 53		compatible = "simple-bus";
 54		#address-cells = <1>;
 55		#size-cells = <1>;
 56		reg = <0x18000000 0x8000000>;
 57		ranges;
 58
 59		ethernet@18000000 {
 60			compatible = "smsc,lan9115";
 61			reg = <0x18000000 0x10000>;
 62			interrupt-parent = <&gpn>;
 63			interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
 64			phy-mode = "mii";
 65			reg-io-width = <4>;
 66			smsc,force-internal-phy;
 67		};
 68	};
 
 
 
 
 69};
 70
 71&sdhci0 {
 72	pinctrl-names = "default";
 73	pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
 74	bus-width = <4>;
 75	status = "okay";
 76};
 77
 78&uart0 {
 79	pinctrl-names = "default";
 80	pinctrl-0 = <&uart0_data>, <&uart0_fctl>;
 81	status = "okay";
 82};
 83
 84&uart1 {
 85	pinctrl-names = "default";
 86	pinctrl-0 = <&uart1_data>;
 87	status = "okay";
 88};
 89
 90&uart2 {
 91	pinctrl-names = "default";
 92	pinctrl-0 = <&uart2_data>;
 93	status = "okay";
 94};
 95
 96&uart3 {
 97	pinctrl-names = "default";
 98	pinctrl-0 = <&uart3_data>;
 99	status = "okay";
100};