blob: 5300f8b6df9fd09db163aee9f42bded824d1c741 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +02002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +02004 */
5
6/dts-v1/;
7
8#include "brcm,bcm6338.dtsi"
9
10/ {
11 model = "Sagem F@ST1704";
12 compatible = "sagem,f@st1704", "brcm,bcm6338";
13
14 aliases {
15 serial0 = &uart0;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21
22 gpio-leds {
23 compatible = "gpio-leds";
24
25 inet_green {
26 label = "F@ST1704:green:inet";
27 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
28 };
29
30 power_green {
31 label = "F@ST1704:green:power";
32 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 };
34
35 inet_red {
36 label = "F@ST1704:red:inet";
37 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
38 };
39 };
40};
41
42&gpio {
43 status = "okay";
44};
45
Álvaro Fernández Rojase4a06fa2018-01-23 17:15:04 +010046&spi {
47 status = "okay";
48
49 spi-flash@0 {
50 compatible = "spi-flash";
51 reg = <0>;
52 #address-cells = <1>;
53 #size-cells = <1>;
54 spi-max-frequency = <20000000>;
55 };
56};
57
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +020058&uart0 {
59 u-boot,dm-pre-reloc;
60 status = "okay";
61};