~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: ebc8c8e4ce77e9dd23b2980ce126c2e5e60bc44a (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
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2022 Philippe Reynes <philippe.reynes@softathome.com>
 */

/dts-v1/;

#include "bcm6855.dtsi"

#include <dt-bindings/gpio/gpio.h>

/ {
	model = "Broadcom BCM96753REF Reference Board";
	compatible = "brcm,bcm96753ref", "brcm,bcm6855", "brcm,bcmbca";

	aliases {
		serial0 = &uart0;
	};

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

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

&uart0 {
	bootph-all;
	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@0 {
		reg = <0>;
		label = "led_red";
	};

	led@1 {
		reg = <1>;
		label = "led_green";
	};
};