blob: 77616023010e2049a0c2f3c25b326eff3bec812d [file] [log] [blame]
Philippe Reynes3da5fb42018-10-11 18:31:59 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com>
4 */
5
6/dts-v1/;
7
8#include "bcm6858.dtsi"
9
10/ {
William Zhang28fe6ed2022-08-22 11:39:44 -070011 model = "Broadcom BCM968580xref Reference Board";
12 compatible = "brcm,bcm968580xref", "brcm,bcm6858", "brcm,bcmbca";
Philippe Reynes3da5fb42018-10-11 18:31:59 +020013
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 0x20000000>;
25 };
26};
27
28&uart0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-all;
Philippe Reynes3da5fb42018-10-11 18:31:59 +020030 status = "okay";
31};
Philippe Reynes7e87cb02019-03-07 11:36:38 +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 Reynese4cb5e22019-03-15 15:14:43 +010064
david regan55e7f502025-01-13 20:54:24 -080065&nand_controller {
66 brcm,wp-not-connected;
Philippe Reynese4cb5e22019-03-15 15:14:43 +010067 status = "okay";
david regan55e7f502025-01-13 20:54:24 -080068};
Philippe Reynese4cb5e22019-03-15 15:14:43 +010069
david regan55e7f502025-01-13 20:54:24 -080070&nandcs {
71 nand-ecc-strength = <4>;
72 nand-ecc-step-size = <512>;
73 brcm,nand-oob-sector-size = <16>;
Philippe Reynese4cb5e22019-03-15 15:14:43 +010074};
Philippe Reynescf95b9b2019-03-22 17:02:03 +010075
76&leds {
77 status = "okay";
78 #address-cells = <1>;
79 #size-cells = <0>;
80 brcm,serial-led-en-pol;
81 brcm,serial-led-data-ppol;
82
83 led@2 {
84 reg = <2>;
85 label = "green:inet";
86 };
87
88 led@5 {
89 reg = <5>;
90 label = "red:alarm";
91 };
92
93 led@8 {
94 reg = <8>;
95 label = "green:wlan_link";
96 };
97
98 led@11 {
99 reg = <11>;
100 label = "green:fxs1";
101 };
102
103 led@14 {
104 reg = <14>;
105 label = "green:fxs2";
106 };
107
108 led@15 {
109 reg = <15>;
110 label = "green:usb0";
111 };
112
113 led@16 {
114 reg = <16>;
115 label = "green:usb1";
116 };
117
118 led@17 {
119 reg = <17>;
120 label = "green:wps";
121 };
122};
Philippe Reynes2777f832019-08-14 15:18:40 +0200123
124&hsspi {
125 status = "okay";
126
127 flash: mt25@0 {
128 compatible = "jedec,spi-nor";
129 #address-cells = <1>;
130 #size-cells = <1>;
131 reg = <0>;
132 spi-max-frequency = <25000000>;
133 };
134};