2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-05-16 16:46:59 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "brcm,bcm6338.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Sagem F@ST1704";
|
|
|
|
compatible = "sagem,f@st1704", "brcm,bcm6338";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
inet_green {
|
|
|
|
label = "F@ST1704:green:inet";
|
|
|
|
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
power_green {
|
|
|
|
label = "F@ST1704:green:power";
|
|
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
inet_red {
|
|
|
|
label = "F@ST1704:red:inet";
|
|
|
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:00:26 +00:00
|
|
|
&enet {
|
|
|
|
status = "okay";
|
|
|
|
phy = <&enetphy>;
|
|
|
|
phy-mode = "mii";
|
|
|
|
|
|
|
|
enetphy: fixed-link {
|
|
|
|
reg = <1>;
|
|
|
|
speed = <100>;
|
|
|
|
full-duplex;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-16 16:46:59 +00:00
|
|
|
&gpio {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-23 16:15:04 +00:00
|
|
|
&spi {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
spi-flash@0 {
|
2019-02-10 10:16:20 +00:00
|
|
|
compatible = "jedec,spi-nor";
|
2018-01-23 16:15:04 +00:00
|
|
|
reg = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
spi-max-frequency = <20000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-16 16:46:59 +00:00
|
|
|
&uart0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2017-05-16 16:46:59 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|