mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
141 lines
2.3 KiB
Plaintext
141 lines
2.3 KiB
Plaintext
|
/dts-v1/;
|
||
|
#include <dt-bindings/input/input.h>
|
||
|
#include <dt-bindings/leds/common.h>
|
||
|
#include "sf19a2890.dtsi"
|
||
|
|
||
|
/ {
|
||
|
model = "Siflower SF19A2890 Evaluation Board";
|
||
|
compatible = "siflower,sf19a2890-evb", "siflower,sf19a2890";
|
||
|
|
||
|
aliases {
|
||
|
led-boot = &led_wlan;
|
||
|
led-failsafe = &led_wlan;
|
||
|
led-running = &led_wlan;
|
||
|
led-upgrade = &led_wlan;
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
stdout-path = "serial0:115200n8";
|
||
|
};
|
||
|
|
||
|
memory@0 {
|
||
|
device_type = "memory";
|
||
|
reg = <0x0 0x8000000>;
|
||
|
};
|
||
|
|
||
|
leds {
|
||
|
compatible = "gpio-leds";
|
||
|
|
||
|
led_wlan: wlan {
|
||
|
function = LED_FUNCTION_WLAN;
|
||
|
color = <LED_COLOR_ID_RED>;
|
||
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
keys {
|
||
|
compatible = "gpio-keys";
|
||
|
|
||
|
reset {
|
||
|
label = "reset";
|
||
|
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <KEY_RESTART>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
rtl8367rb {
|
||
|
compatible = "realtek,rtl8367b";
|
||
|
realtek,extif = <6 0 0 1 1 1 1 1 1 2>;
|
||
|
mii-bus = <&mdio>;
|
||
|
phy-id = <0>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&gmac {
|
||
|
status = "okay";
|
||
|
phy-mode = "rgmii-id";
|
||
|
snps,ps-speed = <1000>;
|
||
|
nvmem-cells = <&macaddr_factory_0>, <&rgmii_delay_factory_b2>;
|
||
|
nvmem-cell-names = "mac-address", "rgmii-delay";
|
||
|
fixed-link {
|
||
|
speed = <1000>;
|
||
|
full-duplex;
|
||
|
pause;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&wlan_rf {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&uart0 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&usb {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&usb_phy {
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&spi {
|
||
|
status = "okay";
|
||
|
flash@0 {
|
||
|
compatible = "jedec,spi-nor";
|
||
|
reg = <0>;
|
||
|
spi-max-frequency = <30000000>;
|
||
|
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <1>;
|
||
|
|
||
|
partitions {
|
||
|
compatible = "fixed-partitions";
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <1>;
|
||
|
|
||
|
partition@0 {
|
||
|
label = "spl-loader";
|
||
|
reg = <0x0 0x20000>; /* 128k */
|
||
|
read-only;
|
||
|
};
|
||
|
|
||
|
partition@20000 {
|
||
|
label = "u-boot";
|
||
|
reg = <0x20000 0x60000>; /* 384k */
|
||
|
};
|
||
|
|
||
|
partition@80000 {
|
||
|
label = "u-boot-env";
|
||
|
reg = <0x80000 0x10000>; /* 64k */
|
||
|
};
|
||
|
|
||
|
factory:partition@90000 {
|
||
|
label = "factory";
|
||
|
reg = <0x90000 0x10000>; /* 64k */
|
||
|
|
||
|
nvmem-layout {
|
||
|
compatible = "fixed-layout";
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <1>;
|
||
|
|
||
|
macaddr_factory_0: macaddr@0 {
|
||
|
reg = <0x0 0x6>;
|
||
|
};
|
||
|
|
||
|
rgmii_delay_factory_b2: rgmii-delay@b2 {
|
||
|
reg = <0xb2 0x4>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
partition@a0000 {
|
||
|
compatible = "denx,uimage";
|
||
|
label = "firmware";
|
||
|
reg = <0xa0000 0x0>; /* 640k- */
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|