blob: 6ccd33279b809cdcb5e0d61f5a988544fa7e05d8 [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 };
22};
23
24&qspi {
25 bus-num = <0>;
26 status = "okay";
27
28 qflash0: n25q128a13@0 {
29 #address-cells = <1>;
30 #size-cells = <1>;
31 compatible = "spi-flash";
32 spi-max-frequency = <20000000>;
33 reg = <0>;
haikunddf79f32015-03-25 20:23:26 +080034 };
35};
36
Yuan Yaoa8ee68d2015-09-30 13:05:15 +053037&dspi1 {
38 bus-num = <0>;
39 status = "okay";
40
41 dspiflash: at26df081a@0 {
42 #address-cells = <1>;
43 #size-cells = <1>;
44 compatible = "spi-flash";
45 spi-max-frequency = <16000000>;
46 spi-cpol;
47 spi-cpha;
48 reg = <0>;
49 };
50};
51
haikunddf79f32015-03-25 20:23:26 +080052&i2c0 {
53 status = "okay";
54};
55
56&i2c1 {
57 status = "okay";
58};
59
60&ifc {
61 #address-cells = <2>;
62 #size-cells = <1>;
63 /* NOR Flash on board */
haikunce35fc12015-03-24 21:16:31 +080064 ranges = <0x0 0x0 0x60000000 0x08000000>;
haikunddf79f32015-03-25 20:23:26 +080065 status = "okay";
66
67 nor@0,0 {
68 #address-cells = <1>;
69 #size-cells = <1>;
70 compatible = "cfi-flash";
71 reg = <0x0 0x0 0x8000000>;
72 bank-width = <2>;
73 device-width = <1>;
74 };
75};
76
77&lpuart0 {
78 status = "okay";
79};
80
81&mdio0 {
82 sgmii_phy0: ethernet-phy@0 {
83 reg = <0x0>;
84 };
85 rgmii_phy1: ethernet-phy@1 {
86 reg = <0x1>;
87 };
88 sgmii_phy2: ethernet-phy@2 {
89 reg = <0x2>;
90 };
91 tbi1: tbi-phy@1f {
92 reg = <0x1f>;
93 device_type = "tbi-phy";
94 };
95};
96
97&uart0 {
98 status = "okay";
99};
100
101&uart1 {
102 status = "okay";
103};