1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[mcs814x] add Moschip MSC814x support

This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32462 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-06-19 14:48:56 +00:00
parent 5fa7ed291e
commit 7c90f3b2b4
49 changed files with 4494 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
/*
* 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 {
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
};
};
};
};
};