]> git.sur5r.net Git - u-boot/blob - arch/mips/dts/sagem,f@st1704.dts
gpio: sunxi: Add compatible string for H5 PIO
[u-boot] / arch / mips / dts / sagem,f@st1704.dts
1 /*
2  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 /dts-v1/;
8
9 #include "brcm,bcm6338.dtsi"
10
11 / {
12         model = "Sagem F@ST1704";
13         compatible = "sagem,f@st1704", "brcm,bcm6338";
14
15         aliases {
16                 serial0 = &uart0;
17         };
18
19         chosen {
20                 stdout-path = "serial0:115200n8";
21         };
22
23         gpio-leds {
24                 compatible = "gpio-leds";
25
26                 inet_green {
27                         label = "F@ST1704:green:inet";
28                         gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
29                 };
30
31                 power_green {
32                         label = "F@ST1704:green:power";
33                         gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
34                 };
35
36                 inet_red {
37                         label = "F@ST1704:red:inet";
38                         gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
39                 };
40         };
41 };
42
43 &gpio {
44         status = "okay";
45 };
46
47 &uart0 {
48         u-boot,dm-pre-reloc;
49         status = "okay";
50 };