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