ath79: DTS style improvement for Ubiquiti XM and BZ devices

This applies minor style improvements and removes commented pll
clock adjustments from ubnt_xm DTSI. The latter were introduced
(already commented out) when adding ath79 target and have never
been touched since then. For Unifi (BZ board), similar clock
adjustments are employed and used.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2019-11-19 15:47:11 +01:00
parent b7c58a1eeb
commit 640a36aafc
4 changed files with 13 additions and 21 deletions

View File

@ -15,7 +15,7 @@
label-mac-device = &wifi; label-mac-device = &wifi;
}; };
airrouter-leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led_globe: globe { led_globe: globe {

View File

@ -78,30 +78,30 @@
read-only; read-only;
}; };
partition@1 { partition@40000 {
label = "u-boot-env"; label = "u-boot-env";
reg = <0x040000 0x010000>; reg = <0x040000 0x010000>;
}; };
partition@2 { partition@50000 {
compatible = "denx,uimage"; compatible = "denx,uimage";
label = "firmware"; label = "firmware";
reg = <0x050000 0x750000>; reg = <0x050000 0x750000>;
}; };
partition@3 { partition@7a0000 {
label = "board_config"; label = "board_config";
reg = <0x7a0000 0x010000>; reg = <0x7a0000 0x010000>;
read-only; read-only;
}; };
partition@4 { partition@7b0000 {
label = "cfg"; label = "cfg";
reg = <0x7b0000 0x040000>; reg = <0x7b0000 0x040000>;
read-only; read-only;
}; };
art: partition@5 { art: partition@7f0000 {
label = "art"; label = "art";
reg = <0x7f0000 0x010000>; reg = <0x7f0000 0x010000>;
read-only; read-only;

View File

@ -9,12 +9,6 @@
compatible = "ubnt,xm", "qca,ar7241"; compatible = "ubnt,xm", "qca,ar7241";
model = "Ubiquiti Networks XM (rev 1.0) board"; model = "Ubiquiti Networks XM (rev 1.0) board";
/* extosc: ref {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <40000000>;
};
*/
keys { keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
@ -30,12 +24,9 @@
status = "okay"; status = "okay";
}; };
/*&pll {
clocks = <&extosc>;
};*/
&spi { &spi {
status = "okay"; status = "okay";
num-cs = <1>; num-cs = <1>;
flash@0 { flash@0 {
@ -54,30 +45,30 @@
read-only; read-only;
}; };
partition@1 { partition@40000 {
label = "u-boot-env"; label = "u-boot-env";
reg = <0x040000 0x010000>; reg = <0x040000 0x010000>;
}; };
partition@2 { partition@50000 {
compatible = "denx,uimage"; compatible = "denx,uimage";
label = "firmware"; label = "firmware";
reg = <0x050000 0x750000>; reg = <0x050000 0x750000>;
}; };
partition@3 { partition@7a0000 {
label = "board_config"; label = "board_config";
reg = <0x7a0000 0x010000>; reg = <0x7a0000 0x010000>;
read-only; read-only;
}; };
partition@4 { partition@7b0000 {
label = "cfg"; label = "cfg";
reg = <0x7b0000 0x040000>; reg = <0x7b0000 0x040000>;
read-only; read-only;
}; };
art: partition@5 { art: partition@7f0000 {
label = "art"; label = "art";
reg = <0x7f0000 0x010000>; reg = <0x7f0000 0x010000>;
read-only; read-only;

View File

@ -11,6 +11,7 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
link1 { link1 {
label = "ubnt:red:link1"; label = "ubnt:red:link1";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;