Linux Audio

Check our new training course

Embedded Linux training

Mar 31-Apr 8, 2025
Register
Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0
  2/*
  3 * Samsung SMDK5410 board device tree source
  4 *
  5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  6 *		http://www.samsung.com
  7 */
 
 
 
 
  8
  9/dts-v1/;
 10#include "exynos5410.dtsi"
 11#include <dt-bindings/interrupt-controller/irq.h>
 12/ {
 13	model = "Samsung SMDK5410 board based on Exynos5410";
 14	compatible = "samsung,smdk5410", "samsung,exynos5410", "samsung,exynos5";
 15
 16	memory@40000000 {
 17		device_type = "memory";
 18		reg = <0x40000000 0x80000000>;
 19	};
 20
 21	chosen {
 22		stdout-path = "serial2:115200n8";
 23	};
 24
 25	fin_pll: xxti {
 26		compatible = "fixed-clock";
 27		clock-frequency = <24000000>;
 28		clock-output-names = "fin_pll";
 29		#clock-cells = <0>;
 30	};
 31
 32	pmic_ap_clk: pmic-ap-clk {
 33		/* Workaround for missing PMIC and its clock */
 34		compatible = "fixed-clock";
 35		#clock-cells = <0>;
 36		clock-frequency = <32768>;
 37	};
 38
 39	firmware@2037000 {
 40		compatible = "samsung,secure-firmware";
 41		reg = <0x02037000 0x1000>;
 42	};
 43
 44	vdd10_usb3: voltage-regulator-0 {
 45		compatible = "regulator-fixed";
 46		regulator-name = "VDD10_USB3";
 47		regulator-min-microvolt = <1000000>;
 48		regulator-max-microvolt = <1000000>;
 49	};
 50
 51	vdd33_usb3: voltage-regulator-0 {
 52		compatible = "regulator-fixed";
 53		regulator-name = "VDD33_USB3";
 54		regulator-min-microvolt = <3300000>;
 55		regulator-max-microvolt = <3300000>;
 56	};
 57};
 58
 59&mmc_0 {
 60	status = "okay";
 
 61	cap-mmc-highspeed;
 62	broken-cd;
 63	card-detect-delay = <200>;
 64	samsung,dw-mshc-ciu-div = <3>;
 65	samsung,dw-mshc-sdr-timing = <2 3>;
 66	samsung,dw-mshc-ddr-timing = <1 2>;
 67	bus-width = <8>;
 68};
 69
 70&mmc_2 {
 71	status = "okay";
 
 72	cap-sd-highspeed;
 73	card-detect-delay = <200>;
 74	samsung,dw-mshc-ciu-div = <3>;
 75	samsung,dw-mshc-sdr-timing = <2 3>;
 76	samsung,dw-mshc-ddr-timing = <1 2>;
 77	bus-width = <4>;
 78	disable-wp;
 79};
 80
 81&pinctrl_0 {
 82	srom_ctl: srom-ctl-pins {
 83		samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5",
 84			       "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3";
 85		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
 86		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
 87	};
 88
 89	srom_ebi: srom-ebi-pins {
 90		samsung,pins = "gpy3-0", "gpy3-1", "gpy3-2", "gpy3-3",
 91			       "gpy3-4", "gpy3-5", "gpy3-6", "gpy3-7",
 92			       "gpy5-0", "gpy5-1", "gpy5-2", "gpy5-3",
 93			       "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7",
 94			       "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3",
 95			       "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7";
 96		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
 97		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
 98		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
 99	};
100};
101
102&rtc {
103	clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
104	clock-names = "rtc", "rtc_src";
105};
106
107&sromc {
108	pinctrl-names = "default";
109	pinctrl-0 = <&srom_ctl>, <&srom_ebi>;
110
111	ethernet@3,0 {
112		compatible = "smsc,lan9115";
113		reg = <3 0 0x10000>;
114		phy-mode = "mii";
115		interrupt-parent = <&gpx0>;
116		interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
117		reg-io-width = <2>;
118		smsc,irq-push-pull;
119		smsc,force-internal-phy;
120
121		samsung,srom-page-mode;
122		samsung,srom-timing = <9 12 1 9 1 1>;
123	};
124};
125
126&serial_0 {
127	status = "okay";
128};
129
130&serial_1 {
131	status = "okay";
132};
133
134&serial_2 {
135	status = "okay";
136};
137
138&usbdrd3_0 {
139	vdd10-supply = <&vdd10_usb3>;
140	vdd33-supply = <&vdd33_usb3>;
141};
142
143&usbdrd3_1 {
144	vdd10-supply = <&vdd10_usb3>;
145	vdd33-supply = <&vdd33_usb3>;
146};
v4.6
 
  1/*
  2 * SAMSUNG SMDK5410 board device tree source
  3 *
  4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  5 *		http://www.samsung.com
  6 *
  7 * This program is free software; you can redistribute it and/or modify
  8 * it under the terms of the GNU General Public License version 2 as
  9 * published by the Free Software Foundation.
 10*/
 11
 12/dts-v1/;
 13#include "exynos5410.dtsi"
 14#include <dt-bindings/interrupt-controller/irq.h>
 15/ {
 16	model = "Samsung SMDK5410 board based on EXYNOS5410";
 17	compatible = "samsung,smdk5410", "samsung,exynos5410", "samsung,exynos5";
 18
 19	memory {
 
 20		reg = <0x40000000 0x80000000>;
 21	};
 22
 23	chosen {
 24		bootargs = "console=ttySAC2,115200";
 25	};
 26
 27	fin_pll: xxti {
 28		compatible = "fixed-clock";
 29		clock-frequency = <24000000>;
 30		clock-output-names = "fin_pll";
 31		#clock-cells = <0>;
 32	};
 33
 34	firmware@02037000 {
 
 
 
 
 
 
 
 35		compatible = "samsung,secure-firmware";
 36		reg = <0x02037000 0x1000>;
 37	};
 38
 
 
 
 
 
 
 
 
 
 
 
 
 
 39};
 40
 41&mmc_0 {
 42	status = "okay";
 43	num-slots = <1>;
 44	cap-mmc-highspeed;
 45	broken-cd;
 46	card-detect-delay = <200>;
 47	samsung,dw-mshc-ciu-div = <3>;
 48	samsung,dw-mshc-sdr-timing = <2 3>;
 49	samsung,dw-mshc-ddr-timing = <1 2>;
 50	bus-width = <8>;
 51};
 52
 53&mmc_2 {
 54	status = "okay";
 55	num-slots = <1>;
 56	cap-sd-highspeed;
 57	card-detect-delay = <200>;
 58	samsung,dw-mshc-ciu-div = <3>;
 59	samsung,dw-mshc-sdr-timing = <2 3>;
 60	samsung,dw-mshc-ddr-timing = <1 2>;
 61	bus-width = <4>;
 62	disable-wp;
 63};
 64
 65&pinctrl_0 {
 66	srom_ctl: srom-ctl {
 67		samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5",
 68			       "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3";
 69		samsung,pin-function = <2>;
 70		samsung,pin-drv = <0>;
 71	};
 72
 73	srom_ebi: srom-ebi {
 74		samsung,pins = "gpy3-0", "gpy3-1", "gpy3-2", "gpy3-3",
 75			       "gpy3-4", "gpy3-5", "gpy3-6", "gpy3-7",
 76			       "gpy5-0", "gpy5-1", "gpy5-2", "gpy5-3",
 77			       "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7",
 78			       "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3",
 79			       "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7";
 80		samsung,pin-function = <2>;
 81		samsung,pin-pud = <3>;
 82		samsung,pin-drv = <0>;
 83	};
 84};
 85
 
 
 
 
 
 86&sromc {
 87	pinctrl-names = "default";
 88	pinctrl-0 = <&srom_ctl>, <&srom_ebi>;
 89
 90	ethernet@3,0 {
 91		compatible = "smsc,lan9115";
 92		reg = <3 0 0x10000>;
 93		phy-mode = "mii";
 94		interrupt-parent = <&gpx0>;
 95		interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
 96		reg-io-width = <2>;
 97		smsc,irq-push-pull;
 98		smsc,force-internal-phy;
 99
100		samsung,srom-page-mode = <1>;
101		samsung,srom-timing = <9 12 1 9 1 1>;
102	};
103};
104
105&uart0 {
106	status = "okay";
107};
108
109&uart1 {
110	status = "okay";
111};
112
113&uart2 {
114	status = "okay";
 
 
 
 
 
 
 
 
 
 
115};