summaryrefslogtreecommitdiffstats
path: root/master/kkmoon
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-09-27 11:51:12 +0100
committerroot <root@lamia.panaceas.james.local>2015-09-27 11:51:12 +0100
commitfb709653ff255ef72b3fb3ab10137e104a52750f (patch)
treef2b73897244c8d7ee397a36649512322a6d1675a /master/kkmoon
parent83ded88a16a3bbc2e9a50902b0b9728e4e50aad3 (diff)
downloadtrunk-47048-pq-fb709653ff255ef72b3fb3ab10137e104a52750f.tar.gz
trunk-47048-pq-fb709653ff255ef72b3fb3ab10137e104a52750f.tar.bz2
trunk-47048-pq-fb709653ff255ef72b3fb3ab10137e104a52750f.zip
cleanup
Diffstat (limited to 'master/kkmoon')
-rw-r--r--master/kkmoon101
1 files changed, 101 insertions, 0 deletions
diff --git a/master/kkmoon b/master/kkmoon
index 3fb9095..92b5937 100644
--- a/master/kkmoon
+++ b/master/kkmoon
@@ -45,3 +45,104 @@ index c24d220..ffff29f 100644
nw718_mtd_size=3801088
Image/Build/Profile/NW718=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),nw718m,NW718,$(nw718_mtd_size),ARA1B4NCRNW718;1,factory)
+diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
+index 2f6c624..059aae2 100755
+--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
++++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
+@@ -15,6 +15,8 @@ platform_check_image() {
+
+ case "$board" in
+ 3g150b|\
++ ncs601w|\
++ tp-c516w|\
+ 3g300m|\
+ 3g-6200n|\
+ 3g-6200nl|\
+diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
+index 5282e5b..208a962 100644
+--- a/target/linux/ramips/dts/rt5350.dtsi
++++ b/target/linux/ramips/dts/rt5350.dtsi
+@@ -119,6 +119,9 @@
+ compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
+ reg = <0x660 0x24>;
+
++ resets = <&rstctrl 13>;
++ reset-names = "pio";
++
+ interrupt-parent = <&intc>;
+ interrupts = <6>;
+
+@@ -131,7 +134,7 @@
+ 10 14 18 1c
+ 20 24 ];
+
+- status = "disabled";
++ /*status = "disabled";*/
+ };
+
+ i2c@900 {
+@@ -165,6 +168,7 @@
+
+ status = "disabled";
+ };
++
+
+ uartlite@c00 {
+ compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a";
+@@ -189,6 +193,16 @@
+ interrupt-parent = <&cpuintc>;
+ interrupts = <7>;
+ };
++
++
++ /* phydummy {
++ compatible = "ralink,phydummy";
++
++ pinctrl-names = "default";
++ pinctrl-0 = <&led_pins>;
++
++ }; */
++
+ };
+
+ pinctrl {
+@@ -214,13 +228,6 @@
+ };
+ };
+
+- phy_led_pins: phy_led {
+- phy_led {
+- ralink,group = "led";
+- ralink,function = "led";
+- };
+- };
+-
+ uartlite_pins: uartlite {
+ uart {
+ ralink,group = "uartlite";
+@@ -241,6 +248,13 @@
+ ralink,function = "spi_cs1";
+ };
+ };
++
++ led_pins: phy_led {
++ phy_led {
++ ralink,group = "led";
++ ralink,function = "led";
++ };
++ };
+ };
+
+ rstctrl: rstctrl {
+diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
+index ffff29f..2400261 100644
+--- a/target/linux/ramips/image/Makefile
++++ b/target/linux/ramips/image/Makefile
+@@ -745,6 +745,7 @@ define Image/Build/Profile/Default
+ $(call Image/Build/Profile/MZKW300NH2,$(1))
+ $(call Image/Build/Profile/NBG-419N,$(1))
+ $(call Image/Build/Profile/NCS601W,$(1))
++ $(call Image/Build/Profile/TP-C516W,$(1))
+ $(call Image/Build/Profile/NW718,$(1))
+ $(call Image/Build/Profile/MINIEMBWIFI,$(1))
+ $(call Image/Build/Profile/MINIEMBPLUG,$(1))