summaryrefslogtreecommitdiffstats
path: root/sys/gnu/dts/mips/WHR-300HP2.dts
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-19 10:45:17 -0300
committerRenato Botelho <renato@netgate.com>2016-05-19 10:45:17 -0300
commit57a447a9c3cb69fb2e4f874104327cdc3203313a (patch)
tree5f882a4db4469e125c743f84b4f8998df4f015c3 /sys/gnu/dts/mips/WHR-300HP2.dts
parent5cf4da15d7c435594db5cc482d961f98986d0808 (diff)
parent0412106b46a9cffa2790ddc17339d96c0dc607c9 (diff)
downloadFreeBSD-src-57a447a9c3cb69fb2e4f874104327cdc3203313a.zip
FreeBSD-src-57a447a9c3cb69fb2e4f874104327cdc3203313a.tar.gz
Merge remote-tracking branch 'origin/master' into devel-11
Diffstat (limited to 'sys/gnu/dts/mips/WHR-300HP2.dts')
-rw-r--r--sys/gnu/dts/mips/WHR-300HP2.dts140
1 files changed, 69 insertions, 71 deletions
diff --git a/sys/gnu/dts/mips/WHR-300HP2.dts b/sys/gnu/dts/mips/WHR-300HP2.dts
index 638837d..88981bb 100644
--- a/sys/gnu/dts/mips/WHR-300HP2.dts
+++ b/sys/gnu/dts/mips/WHR-300HP2.dts
@@ -1,81 +1,11 @@
/dts-v1/;
-/include/ "mt7620a.dtsi"
+#include "mt7620a.dtsi"
/ {
compatible = "ralink,mt7620a-soc";
model = "Buffalo WHR-300HP2";
- palmbus@10000000 {
- gpio2: gpio@660 {
- status = "okay";
- };
-
- spi@b00 {
- status = "okay";
-
- m25p80@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "jedec,spi-nor";
- reg = <0 0>;
- linux,modalias = "m25p80", "s25fl064k";
- 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", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
- ralink,function = "gpio";
- };
-
- pa {
- ralink,group = "pa";
- ralink,function = "pa";
- };
- };
- };
-
- ethernet@10100000 {
- pinctrl-names = "default";
- pinctrl-0 = <&ephy_pins>;
- mediatek,portmap = "llllw";
- };
-
- gsw@10110000 {
- mediatek,port4 = "ephy";
- };
-
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
-
gpio-leds {
compatible = "gpio-leds";
@@ -148,3 +78,71 @@
};
};
};
+
+&gpio2 {
+ status = "okay";
+};
+
+&spi0 {
+ status = "okay";
+
+ m25p80@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "jedec,spi-nor";
+ reg = <0 0>;
+ linux,modalias = "m25p80", "s25fl064k";
+ 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", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
+ ralink,function = "gpio";
+ };
+
+ pa {
+ ralink,group = "pa";
+ ralink,function = "pa";
+ };
+ };
+};
+
+&ethernet {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ephy_pins>;
+ mediatek,portmap = "llllw";
+};
+
+&gsw {
+ mediatek,port4 = "ephy";
+};
+
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
+};
OpenPOWER on IntegriCloud