blob: c2bdd332745dd13003d34a78d40fbde8842e9717 [file] [log] [blame]
Philippe Reynesbe2fc082019-01-31 18:57:36 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Philippe Reynes <philippe.reynes@softathome.com>
4 */
5
6/dts-v1/;
7
8#include "bcm63158.dtsi"
9
10/ {
11 model = "Broadcom bcm963158";
12 compatible = "broadcom,bcm963158", "brcm,bcm63158";
13
14 aliases {
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21
22 memory {
23 device_type = "memory";
24 reg = <0x0 0x0 0x0 0x40000000>;
25 };
26};
27
28&uart0 {
29 u-boot,dm-pre-reloc;
30 status = "okay";
31};
Philippe Reynes1e4a7c62019-03-07 11:36:43 +010032
33&gpio0 {
34 status = "okay";
35};
36
37&gpio1 {
38 status = "okay";
39};
40
41&gpio2 {
42 status = "okay";
43};
44
45&gpio3 {
46 status = "okay";
47};
48
49&gpio4 {
50 status = "okay";
51};
52
53&gpio5 {
54 status = "okay";
55};
56
57&gpio6 {
58 status = "okay";
59};
60
61&gpio7 {
62 status = "okay";
63};
Philippe Reynesb2aa5182019-03-15 15:14:46 +010064
65&nand {
66 status = "okay";
67 write-protect = <0>;
68 #address-cells = <1>;
69 #size-cells = <0>;
70
71 nandcs@0 {
72 compatible = "brcm,nandcs";
73 reg = <0>;
74 nand-ecc-strength = <4>;
75 nand-ecc-step-size = <512>;
76 brcm,nand-oob-sector-size = <16>;
77 };
78};
Philippe Reynes4ae05422019-03-22 17:02:07 +010079
80&leds {
81 status = "okay";
82 #address-cells = <1>;
83 #size-cells = <0>;
84 brcm,serial-led-en-pol;
85 brcm,serial-led-data-ppol;
86
87 led@16 {
88 reg = <16>;
89 label = "red:dsl2";
90 };
91
92 led@17 {
93 reg = <17>;
94 label = "green:dsl1";
95 };
96
97 led@18 {
98 reg = <18>;
99 label = "green:fxs2";
100 };
101
102 led@19 {
103 reg = <19>;
104 label = "green:fxs1";
105 };
106
107 led@26 {
108 reg = <26>;
109 label = "green:wan1_act";
110 };
111
112 led@27 {
113 reg = <27>;
114 label = "green:wps";
115 };
116
117 led@28 {
118 reg = <28>;
119 active-low;
120 label = "green:aggregate_act";
121 };
122
123 led@29 {
124 reg = <29>;
125 label = "green:aggregate_link";
126 };
127};
Kursad Oneyce9e2ee2019-08-14 15:18:37 +0200128
129&hsspi {
130 status = "okay";
131
132 flash: mt25@0 {
133 compatible = "jedec,spi-nor";
134 #address-cells = <1>;
135 #size-cells = <1>;
136 reg = <0>;
137 spi-max-frequency = <25000000>;
138 };
139};