|
@@ -41,20 +41,22 @@
|
|
leds {
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
- wlan {
|
|
|
|
- label = "gl-ar300m:green:wlan";
|
|
|
|
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
|
|
- linux,default-trigger = "phy0tpt";
|
|
|
|
|
|
+ // Colors from non-Lite versions
|
|
|
|
+
|
|
|
|
+ led_status: status {
|
|
|
|
+ label = "gl-ar300m:green:status";
|
|
|
|
+ gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
- lan {
|
|
|
|
|
|
+ led_lan: lan {
|
|
label = "gl-ar300m:green:lan";
|
|
label = "gl-ar300m:green:lan";
|
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
|
|
- led_status: status {
|
|
|
|
- label = "gl-ar300m:red:status";
|
|
|
|
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
|
|
|
|
+ led_wlan: wlan {
|
|
|
|
+ label = "gl-ar300m:red:wlan";
|
|
|
|
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
|
|
+ linux,default-trigger = "phy0tpt";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
@@ -63,6 +65,45 @@
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+&spi {
|
|
|
|
+ status = "okay";
|
|
|
|
+ num-cs = <0>;
|
|
|
|
+
|
|
|
|
+ flash@0 {
|
|
|
|
+ compatible = "winbond,w25q128", "jedec,spi-nor";
|
|
|
|
+ reg = <0>;
|
|
|
|
+ spi-max-frequency = <25000000>;
|
|
|
|
+
|
|
|
|
+ partitions {
|
|
|
|
+ compatible = "fixed-partitions";
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+
|
|
|
|
+ partition@0 {
|
|
|
|
+ label = "u-boot";
|
|
|
|
+ reg = <0x000000 0x040000>;
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ partition@1 {
|
|
|
|
+ label = "u-boot-env";
|
|
|
|
+ reg = <0x040000 0x010000>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ partition@2 {
|
|
|
|
+ compatible = "denx,uimage";
|
|
|
|
+ label = "firmware";
|
|
|
|
+ reg = <0x050000 0xfa0000>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ art: partition@3 {
|
|
|
|
+ label = "art";
|
|
|
|
+ reg = <0xff0000 0x010000>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
&uart {
|
|
&uart {
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|