bcm53xx: add support for SmartRG SR400ac
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45686 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
0b5e70c87d
commit
d77d31ac17
|
@ -95,10 +95,16 @@ define Device/netgear-r8000
|
||||||
BOARD_ID := U12H315T00_NETGEAR
|
BOARD_ID := U12H315T00_NETGEAR
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Device/smartrg-sr400ac
|
||||||
|
IMAGES := trx
|
||||||
|
IMAGE/trx := trx-serial
|
||||||
|
endef
|
||||||
|
|
||||||
TARGET_DEVICES += \
|
TARGET_DEVICES += \
|
||||||
asus-rt-ac56u asus-rt-ac68u asus-rt-ac87u asus-rt-n18u \
|
asus-rt-ac56u asus-rt-ac68u asus-rt-ac87u asus-rt-n18u \
|
||||||
netgear-r6250 netgear-r6300-v2 netgear-r8000 \
|
|
||||||
buffalo-wzr-1750dhp buffalo-wzr-600dhp2 buffalo-wzr-900dhp \
|
buffalo-wzr-1750dhp buffalo-wzr-600dhp2 buffalo-wzr-900dhp \
|
||||||
buffalo-wxr-1900dhp
|
buffalo-wxr-1900dhp \
|
||||||
|
netgear-r6250 netgear-r6300-v2 netgear-r8000 \
|
||||||
|
smartrg-sr400ac
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
|
|
@ -123,4 +123,15 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
+ bootargs = "console=ttyS0,115200 earlyprintk";
|
+ bootargs = "console=ttyS0,115200 earlyprintk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||||||
|
@@ -16,7 +16,7 @@
|
||||||
|
model = "SmartRG SR400ac";
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
- bootargs = "console=ttyS0,115200";
|
||||||
|
+ bootargs = "console=ttyS0,115200 earlyprintk";
|
||||||
|
};
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
|
|
|
@ -134,4 +134,16 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
+ 0x88000000 0x18000000>;
|
+ 0x88000000 0x18000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
leds {
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
- reg = <0x00000000 0x08000000>;
|
||||||
|
+ reg = <0x00000000 0x08000000
|
||||||
|
+ 0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
|
|
@ -208,3 +208,22 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
||||||
clocks {
|
clocks {
|
||||||
clk_periph: periph {
|
clk_periph: periph {
|
||||||
clock-frequency = <500000000>;
|
clock-frequency = <500000000>;
|
||||||
|
--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||||||
|
+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||||||
|
@@ -24,6 +24,16 @@
|
||||||
|
0x88000000 0x08000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
+ chipcommonA {
|
||||||
|
+ uart0: serial@0300 {
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ uart1: serial@0400 {
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
leds {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue