openwrtv3/target/linux/mcs814x/files-3.3/arch/arm/boot/dts/rbt-832.dts
Florian Fainelli 18908139f3 mcs814x: use the standard device tree binding to represent a PHY node
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36059
2013-03-16 22:25:41 +00:00

89 lines
1.5 KiB
Text

/*
* rbt-832.dts - Device Tree file for Tigal RBT-832
*
* Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
*
* Licensed under GPLv2
*/
/dts-v1/;
/include/ "mcs8140.dtsi"
/ {
model = "Tigal RBT-832";
compatible = "tigal,rbt-832", "moschip,mcs8140", "moschip,mcs814x";
chosen {
bootargs = "mem=32M console=ttyS0,115200 earlyprintk";
};
ahb {
vci {
eth0: ethernet@40084000 {
nuport-mac,link-activity = <0x01>;
phy = <&phy0>;
phy-mode = "mii";
phy0: ethernet-phy@0 {
reg = <1>;
};
};
adc {
sdram: memory@0,0 {
reg = <0 0 0x2000000>;
};
nor: flash@7,0 {
partition@0 {
label = "ArmBoot";
reg = <0 0x40000>;
};
partition@30000 {
label = "Enviroment";
reg = <0x40000 0x20000>;
};
partition@50000 {
label = "bZimage";
reg = <0x60000 0x1a0000>;
};
partition@150000 {
label = "UserFS";
reg = <0x200000 0x600000>;
};
};
};
leds {
compatible = "gpio-leds";
ethernet {
label = "rbt-832:red:ethernet";
gpios = <&gpio 0 0>; // gpio 0 active high
};
usb0 {
label = "rbt-832:red:usb0";
gpios = <&gpio 4 0>; // gpio 4 active high
};
usb1 {
label = "rbt-832:red:usb1";
gpios = <&gpio 3 0>; // gpio 3 active high
};
usb2 {
label = "rbt-832:red:usb2";
gpios = <&gpio 2 0>; // gpio 2 active high
};
usb3 {
label = "rbt-832:red:usb3";
gpios = <&gpio 1 0>; // gpio 1 active high
};
};
};
};
};