chosen {
linux,stdout-path = "/plb/opb/serial@ef600400";
};
-
};
chosen {
linux,stdout-path = "/plb/opb/serial@ef600400";
};
-
};
&CRYPTO {
watchdog@fffffd40 {
status = "okay";
};
-
+
spi0: spi@fffc8000 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
-
+
at91boot@0 {
label = "at91boot";
reg = <0x0 0x4000>;
};
};
};
-
+
usb0: ohci@500000 {
num-ports = <2>;
status = "okay";
atmel,pins =
<2 1 0x2 0x0>; /* PC1 periph B */
};
-
};
};
spi1: spi@f8008000 {
status = "okay";
- spidev@0 {
- compatible = "spidev";
- reg = <0>;
- spi-max-frequency = <8000000>;
- };
+ spidev@0 {
+ compatible = "spidev";
+ reg = <0>;
+ spi-max-frequency = <8000000>;
+ };
};
watchdog@fffffe40 {
usb2: ehci@00700000 {
status = "okay";
};
-
};
gpio_keys {
};
};
- leds {
- compatible = "gpio-leds";
-
- led0 {
- label = "wb50n:blue:led0";
- gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led1 {
- label = "wb50n:green:led1";
- gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led2 {
- label = "wb50n:red:led2";
- gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
- };
+ leds {
+ compatible = "gpio-leds";
+
+ led0 {
+ label = "wb50n:blue:led0";
+ gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ led1 {
+ label = "wb50n:green:led1";
+ gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ led2 {
+ label = "wb50n:red:led2";
+ gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+ };
};
default-state = "off";
linux,default-trigger = "phy1tpt";
};
-
};
keys {
phy-mode = "rgmii";
};
};
-
};
};
};
&pll {
- clocks = <&extosc>;
+ clocks = <&extosc>;
};
&spi {
speed = <1000>;
full-duplex;
};
-
};
ð1 {
pll-data = <0x11110000 0x00001099 0x00991099>;
phy-handle = <&phy4>;
-
};
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
debounce-interval = <60>;
};
-
};
leds {
default-state = "off";
linux,default-trigger = "phy0tpt";
};
-
};
rtl8367 {
gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
-
};
&spi {
phy-handle = <&swphy0>;
mtd-mac-address = <&art 0x0>;
mtd-mac-address-increment = <1>;
-
};
ð1 {
default-state = "off";
};
};
-
};
&ref {
default-state = "off";
};
};
-
};
&ref {
swconfig,segment = "wan";
swconfig,portmap = <5 5>;
};
-
};
&wmac {
gpio-export,output = <1>;
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
-
};
};
output-high;
line-name = "gpio-latch-bit";
};
-
};
};
linux,code = <KEY_RESTART>;
};
};
-
};
&pinctrl {
gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>;
};
- };
+ };
gpio-leds {
compatible = "gpio-leds";
gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>;
};
- };
+ };
gpio-leds {
compatible = "gpio-leds";
gpios = <&pinctrl 33 0>;
linux,code = <KEY_WPS_BUTTON>;
};
- };
+ };
};
&hsspi {
gpios = <&pinctrl 32 0>;
linux,code = <KEY_RESTART>;
};
- };
+ };
gpio-leds {
compatible = "gpio-leds";
reg = <0x1fe0000 0x20000>;
};
};
-};
+};
&pinctrl {
pinctrl-names = "default";
stdout-path = "serial0:115200n8";
};
-
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
gpios = <&gpio0 13 1>;
linux,code = <KEY_RESTART>;
};
- };
+ };
gpio-leds {
compatible = "gpio-leds";
gpios = <&gpio0 13 1>;
linux,code = <KEY_RESTART>;
};
- };
+ };
gpio-leds {
compatible = "gpio-leds";
gpios = <&pinctrl 34 0>;
linux,code = <KEY_WPS_BUTTON>;
};
- };
+ };
};
&hsspi {
output-low;
};
};
- led_pins: led_pinmux {
+ led_pins: led_pinmux {
mux {
pins = "gpio0", "gpio1", "gpio3", "gpio5", "gpio58";
drive-strength = <0x8>;
/delete-node/ &pcie2_pins;
/delete-node/ &pcie2;
-
};
soc {
- rpm@108000 {
+ rpm@108000 {
pinctrl-0 = <&rpm_pins>;
pinctrl-names = "default";
};
led_pins: led_pins {
mux {
- pins = "gpio7", "gpio8", "gpio9", "gpio22",
+ pins = "gpio7", "gpio8", "gpio9", "gpio22",
"gpio23", "gpio24", "gpio25", "gpio53";
function = "gpio";
drive-strength = <2>;
led-dsl = &dsl;
led-internet = &online_green;
};
-
};
memory@0 {
};
};
-&pci0 {
+&pci0 {
status = "okay";
lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
phy-mode = "mii";
phy-handle = <&phy14>;
};
-
};
mdio@0 {
reg = <0x14>;
compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
};
-
};
};
pinctrl {
led_pins: led-pins {
- lantiq,pins = "io34", "io35", "io36", "io37", "io38",
+ lantiq,pins = "io34", "io35", "io36", "io37", "io38",
"io39", "io40", "io41";
lantiq,function = "gpio";
};
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
-
};
};
memory@0 {
device_type = "memory";
- reg = <0x0 0x4000000>; // 64M at 0x0
+ reg = <0x0 0x4000000>; // 64M at 0x0
};
gpio-keys {
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
-
};
};
memory@0 {
device_type = "memory";
- reg = <0x0 0x4000000>; // 64M at 0x0
+ reg = <0x0 0x4000000>; // 64M at 0x0
};
gpio-keys {
/* Place-holder for SIM-Card connector,
to list the used GPIOs, no official binding */
compatible = "gpio-mmc";
- gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>,
- <&gpio0 3 GPIO_ACTIVE_HIGH>,
- <&gpio0 2 GPIO_ACTIVE_HIGH>,
- <0>; /* no CS */
+ gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>,
+ <&gpio0 3 GPIO_ACTIVE_HIGH>,
+ <&gpio0 2 GPIO_ACTIVE_HIGH>,
+ <0>; /* no CS */
gpio-names = "di", "do", "clk", "cs";
- reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
+ reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
};
pinctrl {
gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
};
};
-
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
gpios = <&pca9555 6 GPIO_ACTIVE_HIGH>;
};
};
-
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
/* No SATA/AHCI on this board */
&sata {
- status = "disabled";
+ status = "disabled";
};
/* Spansion S34ML02G2 256MiB, OEM Layout */
partition@0 {
label = "u-boot";
- reg = <0x0000000 0x200000>; /* 2MB */
+ reg = <0x0000000 0x200000>; /* 2MB */
read-only;
};
partition@200000 {
label = "u_env";
- reg = <0x200000 0x20000>; /* 128KB */
+ reg = <0x200000 0x20000>; /* 128KB */
};
partition@220000 {
label = "s_env";
- reg = <0x220000 0x40000>; /* 256KB */
+ reg = <0x220000 0x40000>; /* 256KB */
};
partition@180000 {
label = "unused_area";
- reg = <0x260000 0x5c0000>; /* 5.75MB */
+ reg = <0x260000 0x5c0000>; /* 5.75MB */
};
partition@7e0000 {
label = "devinfo";
- reg = <0x7e0000 0x40000>; /* 256KB */
+ reg = <0x7e0000 0x40000>; /* 256KB */
read-only;
};
/* kernel1 overlaps with rootfs1 by design */
partition@900000 {
label = "kernel1";
- reg = <0x900000 0x7b00000>; /* 123MB */
+ reg = <0x900000 0x7b00000>; /* 123MB */
};
partition@c00000 {
label = "rootfs1";
- reg = <0xc00000 0x7800000>; /* 120MB */
+ reg = <0xc00000 0x7800000>; /* 120MB */
};
/* kernel2 overlaps with rootfs2 by design */
partition@8400000 {
label = "kernel2";
- reg = <0x8400000 0x7b00000>; /* 123MB */
+ reg = <0x8400000 0x7b00000>; /* 123MB */
};
partition@8700000 {
label = "rootfs2";
- reg = <0x8700000 0x7800000>; /* 120MB */
+ reg = <0x8700000 0x7800000>; /* 120MB */
};
/* last MB is for the BBT, not writable */
gpios = <&gpio1 9 0 &gpio1 10 0>;
i2c-gpio,delay-us = <10>;
};
-
};
&uart0 {
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
-
};
&gpio1 {
gpio-export,output = <1>;
gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
};
-
};
gpio-leds {
label = "dwr-118-a2:green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
-
-
};
gpio_export {
gpio-export,name = "usb";
gpio-export,output = <1>;
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
+ };
};
- };
};
&gpio1 {
label = "gb-pc2:green:lan3";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};
-
};
};
label = "gl-mt300a:usb";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
-
};
gpio-keys-polled {
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
};
- };
+ };
};
&gpio0 {
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
-
};
&pinctrl {
label = "gl-mt300n:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
-
};
gpio-keys-polled {
label = "gl-mt750:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
-
};
gpio-keys-polled {
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
};
- };
+ };
};
&gpio0 {
label = "mir3g:amber:lan2";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
};
-
};
gpio-keys-polled {
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
-
};
&xhci {
linux,code = <KEY_RFKILL>;
};
};
-
};
&pinctrl {
label = "rbm33g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
-
};
gpio-keys-polled {
label = "tiny-ac:orange:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
-
};
gpio-keys-polled {
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
-
};
gpio_export {
label = "timecloud:orange:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
-
};
gpio-keys-polled {
mc: mc@1fbf8000 {
compatible = "mtk,mt7621-mc";
reg = <0x1fbf8000 0x8000>;
- };
+ };
uartlite: uartlite@c00 {
compatible = "ns16550a";
#include "s5pv210.dtsi"
/ {
- model = "Embedsky TQ210 based on S5PV210";
- compatible = "embedsky,tq210", "samsung,s5pv210";
+ model = "Embedsky TQ210 based on S5PV210";
+ compatible = "embedsky,tq210", "samsung,s5pv210";
- chosen {
- bootargs = "console=ttySAC0,115200n8";
- };
+ chosen {
+ bootargs = "console=ttySAC0,115200n8";
+ };
- memory@20000000 {
- device_type = "memory";
- reg = <0x20000000 0x40000000>;
- };
+ memory@20000000 {
+ device_type = "memory";
+ reg = <0x20000000 0x40000000>;
+ };
- ethernet@88000000 {
- compatible = "davicom,dm9000";
- reg = <0x88000000 0x2 0x88000004 0x2>;
- interrupt-parent = <&gph1>;
- interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
- local-mac-address = [00 00 de ad be ef];
- davicom,no-eeprom;
- clocks = <&clocks CLK_SROMC>;
- clock-names = "sromc";
- };
+ ethernet@88000000 {
+ compatible = "davicom,dm9000";
+ reg = <0x88000000 0x2 0x88000004 0x2>;
+ interrupt-parent = <&gph1>;
+ interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
+ local-mac-address = [00 00 de ad be ef];
+ davicom,no-eeprom;
+ clocks = <&clocks CLK_SROMC>;
+ clock-names = "sromc";
+ };
};
&xxti {
- clock-frequency = <24000000>;
+ clock-frequency = <24000000>;
};
&uart0 {
- status = "okay";
+ status = "okay";
};
&nand {
- status = "okay";
- nand-ecc-mode = "soft";
+ status = "okay";
+ nand-ecc-mode = "soft";
- partition@0 {
- label = "boot";
- reg = <0x0 0x40000>; /* 246KB */
- read-only;
- };
-
- partition@40000 {
- label = "kernel";
- reg = <0x40000 0x300000>; /* 3MB */
- };
+ partition@0 {
+ label = "boot";
+ reg = <0x0 0x40000>; /* 246KB */
+ read-only;
+ };
- partition@340000 {
- label = "rootfs";
- reg = <0x340000 0x3fcc0000>; /* 1020MB */
- };
+ partition@40000 {
+ label = "kernel";
+ reg = <0x40000 0x300000>; /* 3MB */
+ };
+ partition@340000 {
+ label = "rootfs";
+ reg = <0x340000 0x3fcc0000>; /* 1020MB */
+ };
};