xref: /freebsd-src/sys/contrib/device-tree/src/arm/samsung/exynos3250-artik5-eval.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Samsung's Exynos3250 based ARTIK5 evaluation board device tree source
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2016 Samsung Electronics Co., Ltd.
6*f126890aSEmmanuel Vadot *		http://www.samsung.com
7*f126890aSEmmanuel Vadot *
8*f126890aSEmmanuel Vadot * Device tree source file for Samsung's ARTIK5 evaluation board
9*f126890aSEmmanuel Vadot * which is based on Samsung Exynos3250 SoC.
10*f126890aSEmmanuel Vadot */
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/dts-v1/;
13*f126890aSEmmanuel Vadot#include "exynos3250-artik5.dtsi"
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot/ {
16*f126890aSEmmanuel Vadot	model = "Samsung ARTIK5 evaluation board";
17*f126890aSEmmanuel Vadot	compatible = "samsung,artik5-eval", "samsung,artik5",
18*f126890aSEmmanuel Vadot			"samsung,exynos3250", "samsung,exynos3";
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	aliases {
21*f126890aSEmmanuel Vadot		mmc0 = &mshc_2;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot&mshc_2 {
26*f126890aSEmmanuel Vadot	cap-sd-highspeed;
27*f126890aSEmmanuel Vadot	disable-wp;
28*f126890aSEmmanuel Vadot	vqmmc-supply = <&ldo3_reg>;
29*f126890aSEmmanuel Vadot	card-detect-delay = <200>;
30*f126890aSEmmanuel Vadot	clock-frequency = <100000000>;
31*f126890aSEmmanuel Vadot	max-frequency = <100000000>;
32*f126890aSEmmanuel Vadot	samsung,dw-mshc-ciu-div = <1>;
33*f126890aSEmmanuel Vadot	samsung,dw-mshc-sdr-timing = <0 1>;
34*f126890aSEmmanuel Vadot	samsung,dw-mshc-ddr-timing = <1 2>;
35*f126890aSEmmanuel Vadot	pinctrl-names = "default";
36*f126890aSEmmanuel Vadot	pinctrl-0 = <&sd2_cmd &sd2_clk &sd2_cd &sd2_bus1 &sd2_bus4>;
37*f126890aSEmmanuel Vadot	bus-width = <4>;
38*f126890aSEmmanuel Vadot	status = "okay";
39*f126890aSEmmanuel Vadot};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot&serial_2 {
42*f126890aSEmmanuel Vadot	status = "okay";
43*f126890aSEmmanuel Vadot};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot&spi_0 {
46*f126890aSEmmanuel Vadot	status = "okay";
47*f126890aSEmmanuel Vadot	cs-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>, <0>;
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot	assigned-clocks = <&cmu CLK_MOUT_SPI0>, <&cmu CLK_DIV_SPI0>,
50*f126890aSEmmanuel Vadot			  <&cmu CLK_DIV_SPI0_PRE>, <&cmu CLK_SCLK_SPI0>;
51*f126890aSEmmanuel Vadot	assigned-clock-parents = <&cmu CLK_DIV_MPLL_PRE>, /* for: CLK_MOUT_SPI0 */
52*f126890aSEmmanuel Vadot				 <&cmu CLK_MOUT_SPI0>,    /* for: CLK_DIV_SPI0 */
53*f126890aSEmmanuel Vadot				 <&cmu CLK_DIV_SPI0>,     /* for: CLK_DIV_SPI0_PRE */
54*f126890aSEmmanuel Vadot				 <&cmu CLK_DIV_SPI0_PRE>; /* for: CLK_SCLK_SPI0 */
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot	ethernet@0 {
57*f126890aSEmmanuel Vadot		compatible = "asix,ax88796c";
58*f126890aSEmmanuel Vadot		reg = <0x0>;
59*f126890aSEmmanuel Vadot		local-mac-address = [00 00 00 00 00 00]; /* Filled in by a boot-loader */
60*f126890aSEmmanuel Vadot		interrupt-parent = <&gpx2>;
61*f126890aSEmmanuel Vadot		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
62*f126890aSEmmanuel Vadot		spi-max-frequency = <40000000>;
63*f126890aSEmmanuel Vadot		reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>;
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot		controller-data {
66*f126890aSEmmanuel Vadot			samsung,spi-feedback-delay = <2>;
67*f126890aSEmmanuel Vadot		};
68*f126890aSEmmanuel Vadot	};
69*f126890aSEmmanuel Vadot};
70