Merge tag 'v2022.04-rc5' into next
[platform/kernel/u-boot.git] / arch / arm / dts / bcm96753ref.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2022 Philippe Reynes <philippe.reynes@softathome.com>
4  */
5
6 /dts-v1/;
7
8 #include "bcm6753.dtsi"
9
10 #include <dt-bindings/gpio/gpio.h>
11
12 / {
13         model = "Broadcom bcm6753ref";
14         compatible = "broadcom,bcm6753ref", "brcm,bcm6753";
15
16         aliases {
17                 serial0 = &uart0;
18         };
19
20         chosen {
21                 stdout-path = "serial0:115200n8";
22         };
23
24         memory {
25                 device_type = "memory";
26                 reg = <0x0 0x40000000>;
27         };
28 };
29
30 &uart0 {
31         u-boot,dm-pre-reloc;
32         status = "okay";
33 };
34
35 &gpio0 {
36         status = "okay";
37 };
38
39 &gpio1 {
40         status = "okay";
41 };
42
43 &gpio2 {
44         status = "okay";
45 };
46
47 &gpio3 {
48         status = "okay";
49 };
50
51 &gpio4 {
52         status = "okay";
53 };
54
55 &gpio5 {
56         status = "okay";
57 };
58
59 &gpio6 {
60         status = "okay";
61 };
62
63 &gpio7 {
64         status = "okay";
65 };
66
67 &nand {
68         status = "okay";
69         write-protect = <0>;
70         #address-cells = <1>;
71         #size-cells = <0>;
72
73         nandcs@0 {
74                 compatible = "brcm,nandcs";
75                 reg = <0>;
76                 nand-ecc-strength = <4>;
77                 nand-ecc-step-size = <512>;
78                 brcm,nand-oob-sector-size = <16>;
79         };
80 };
81
82 &leds {
83         status = "okay";
84         #address-cells = <1>;
85         #size-cells = <0>;
86         brcm,serial-led-en-pol;
87         brcm,serial-led-data-ppol;
88
89         led@0 {
90                 reg = <0>;
91                 label = "led_red";
92         };
93
94         led@1 {
95                 reg = <1>;
96                 label = "led_green";
97         };
98 };