blob: d1be9ae5c2e2c546be18a64c6373a6af7aafc072 [file] [log] [blame]
haikunf6580d02015-03-25 20:23:26 +08001/*
Bin Meng4951af52016-01-13 19:39:05 -08002 * Freescale ls1021a TWR board common device tree source
haikunf6580d02015-03-25 20:23:26 +08003 *
4 * Copyright 2013-2015 Freescale Semiconductor, Inc.
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
haikunf6580d02015-03-25 20:23:26 +08009#include "ls1021a.dtsi"
10
11/ {
12 model = "LS1021A TWR Board";
13
14 aliases {
15 enet2_rgmii_phy = &rgmii_phy1;
16 enet0_sgmii_phy = &sgmii_phy2;
17 enet1_sgmii_phy = &sgmii_phy0;
Haikun.Wang@freescale.com07c851e2015-03-24 21:20:40 +080018 spi0 = &qspi;
Yuan Yaof9835162015-09-30 13:05:15 +053019 spi1 = &dspi1;
Haikun.Wang@freescale.com07c851e2015-03-24 21:20:40 +080020 };
Bin Meng06229a92016-01-13 19:38:59 -080021
22 chosen {
23 stdout-path = &uart0;
24 };
Haikun.Wang@freescale.com07c851e2015-03-24 21:20:40 +080025};
26
27&qspi {
28 bus-num = <0>;
29 status = "okay";
30
31 qflash0: n25q128a13@0 {
32 #address-cells = <1>;
33 #size-cells = <1>;
34 compatible = "spi-flash";
35 spi-max-frequency = <20000000>;
36 reg = <0>;
haikunf6580d02015-03-25 20:23:26 +080037 };
38};
39
Yuan Yaof9835162015-09-30 13:05:15 +053040&dspi1 {
41 bus-num = <0>;
42 status = "okay";
43
44 dspiflash: at26df081a@0 {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 compatible = "spi-flash";
48 spi-max-frequency = <16000000>;
49 spi-cpol;
50 spi-cpha;
51 reg = <0>;
52 };
53};
54
haikunf6580d02015-03-25 20:23:26 +080055&i2c0 {
56 status = "okay";
57};
58
59&i2c1 {
60 status = "okay";
61};
62
63&ifc {
64 #address-cells = <2>;
65 #size-cells = <1>;
66 /* NOR Flash on board */
haikunb9fe9e22015-03-24 21:16:31 +080067 ranges = <0x0 0x0 0x60000000 0x08000000>;
haikunf6580d02015-03-25 20:23:26 +080068 status = "okay";
69
70 nor@0,0 {
71 #address-cells = <1>;
72 #size-cells = <1>;
73 compatible = "cfi-flash";
74 reg = <0x0 0x0 0x8000000>;
75 bank-width = <2>;
76 device-width = <1>;
77 };
78};
79
80&lpuart0 {
81 status = "okay";
82};
83
84&mdio0 {
85 sgmii_phy0: ethernet-phy@0 {
86 reg = <0x0>;
87 };
88 rgmii_phy1: ethernet-phy@1 {
89 reg = <0x1>;
90 };
91 sgmii_phy2: ethernet-phy@2 {
92 reg = <0x2>;
93 };
94 tbi1: tbi-phy@1f {
95 reg = <0x1f>;
96 device_type = "tbi-phy";
97 };
98};
99
100&uart0 {
101 status = "okay";
102};
103
104&uart1 {
105 status = "okay";
106};