mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
ramips: add support for easyacc wizard8800
Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de> SVN-Revision: 41936
This commit is contained in:
parent
c890f71b95
commit
9efd7ebd34
@ -55,6 +55,7 @@ ramips_setup_interfaces()
|
||||
ucidef_set_interface_lan "eth0.2"
|
||||
;;
|
||||
|
||||
wizard8800 | \
|
||||
wl-330n | \
|
||||
wmr300)
|
||||
ucidef_set_interface_lan "eth0.1"
|
||||
|
@ -121,6 +121,9 @@ ramips_board_detect() {
|
||||
*"ESR-9753")
|
||||
name="esr-9753"
|
||||
;;
|
||||
*"EASYACC WI-STOR WIZARD 8800")
|
||||
name="wizard8800"
|
||||
;;
|
||||
*"Edimax BR-6475nD")
|
||||
name="br-6475nd"
|
||||
;;
|
||||
|
82
target/linux/ramips/dts/WIZARD8800.dts
Normal file
82
target/linux/ramips/dts/WIZARD8800.dts
Normal file
@ -0,0 +1,82 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "rt5350.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "WIZARD8800", "ralink,rt5350-soc";
|
||||
model = "EASYACC WI-STOR WIZARD 8800";
|
||||
|
||||
palmbus@10000000 {
|
||||
gpio1@638 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio2@660 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
spi@b00 {
|
||||
status = "okay";
|
||||
m25p80@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "w25q32";
|
||||
reg = <0 0>;
|
||||
linux,modalias = "m25p80", "w25q32";
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethernet@10100000 {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
};
|
||||
|
||||
esw@10110000 {
|
||||
ralink,portmap = <0x2f>;
|
||||
};
|
||||
|
||||
ehci@101c0000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ohci@101c1000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
wmac@10180000 {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
};
|
@ -499,6 +499,8 @@ endef
|
||||
BuildFirmware/WHRG300N/initramfs=$(call BuildFirmware/OF/initramfs,$(1),whr-g300n,WHR-G300N)
|
||||
Image/Build/Profile/WHRG300N=$(call BuildFirmware/WHRG300N/$(1),$(1))
|
||||
|
||||
Image/Build/Profile/WIZARD8800=$(call BuildFirmware/Default8M/$(1),$(1),wizard-8800,WIZARD8800,Linux Kernel Image)
|
||||
|
||||
Image/Build/Profile/WL_330N=$(call BuildFirmware/Default4M/$(1),$(1),wl-330n,WL_330N)
|
||||
|
||||
Image/Build/Profile/WL_330N3G=$(call BuildFirmware/Default4M/$(1),$(1),wl-330n3g,WL_330N3G)
|
||||
@ -617,6 +619,7 @@ define Image/Build/Profile/Default
|
||||
$(call Image/Build/Profile/W502U,$(1))
|
||||
$(call Image/Build/Profile/WCR150GN,$(1))
|
||||
$(call Image/Build/Profile/WHRG300N,$(1))
|
||||
$(call Image/Build/Profile/WIZARD8800,$(1))
|
||||
$(call Image/Build/Profile/WL_330N,$(1))
|
||||
$(call Image/Build/Profile/WL_330N3G,$(1))
|
||||
$(call Image/Build/Profile/WL341V3,$(1))
|
||||
|
Loading…
Reference in New Issue
Block a user