blob: dd0e5b8b7c290dd7566275275cd088829b07430b [file] [log] [blame]
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +02001/*
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
Álvaro Fernández Rojase4a06fa2018-01-23 17:15:04 +010047&spi {
48 status = "okay";
49
50 spi-flash@0 {
51 compatible = "spi-flash";
52 reg = <0>;
53 #address-cells = <1>;
54 #size-cells = <1>;
55 spi-max-frequency = <20000000>;
56 };
57};
58
Álvaro Fernández Rojas8df37882017-05-16 18:46:59 +020059&uart0 {
60 u-boot,dm-pre-reloc;
61 status = "okay";
62};