summaryrefslogtreecommitdiff
path: root/arch/arm/dts/bcm968580xref.dts
blob: a034e38318bd6577a4997a919c7e86aa768b3980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com>
 */

/dts-v1/;

#include "bcm6858.dtsi"

/ {
	model = "Broadcom bcm68580xref";
	compatible = "broadcom,bcm68580xref", "brcm,bcm6858";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	memory {
		device_type = "memory";
		reg = <0x0 0x0 0x0 0x20000000>;
	};
};

&uart0 {
	u-boot,dm-pre-reloc;
	status = "okay";
};

&gpio0 {
	status = "okay";
};

&gpio1 {
	status = "okay";
};

&gpio2 {
	status = "okay";
};

&gpio3 {
	status = "okay";
};

&gpio4 {
	status = "okay";
};

&gpio5 {
	status = "okay";
};

&gpio6 {
	status = "okay";
};

&gpio7 {
	status = "okay";
};

&nand {
	status = "okay";
	write-protect = <0>;
	#address-cells = <1>;
	#size-cells = <0>;

	nandcs@0 {
		compatible = "brcm,nandcs";
		reg = <0>;
		nand-ecc-strength = <4>;
		nand-ecc-step-size = <512>;
		brcm,nand-oob-sector-size = <16>;
	};
};

&leds {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;
	brcm,serial-led-en-pol;
	brcm,serial-led-data-ppol;

	led@2 {
		reg = <2>;
		label = "green:inet";
	};

	led@5 {
		reg = <5>;
		label = "red:alarm";
	};

	led@8 {
		reg = <8>;
		label = "green:wlan_link";
	};

	led@11 {
		reg = <11>;
		label = "green:fxs1";
	};

	led@14 {
		reg = <14>;
		label = "green:fxs2";
	};

	led@15 {
		reg = <15>;
		label = "green:usb0";
	};

	led@16 {
		reg = <16>;
		label = "green:usb1";
	};

	led@17 {
		reg = <17>;
		label = "green:wps";
	};
};

&hsspi {
	status = "okay";

	flash: mt25@0 {
		compatible = "jedec,spi-nor";
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0>;
		spi-max-frequency = <25000000>;
	};
};