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