ath79: fix dts whitespace
Replace blanks with tabs Remove whitespace from otherwise empty lines Signed-off-by: Felix Baumann <felix.bau@gmx.de>
This commit is contained in:
parent
7fd28f2e3a
commit
d0c64ae695
6 changed files with 30 additions and 30 deletions
|
@ -58,7 +58,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtual_flash {
|
virtual_flash {
|
||||||
compatible = "mtd-concat";
|
compatible = "mtd-concat";
|
||||||
devices = <&fwconcat0 &fwconcat1>;
|
devices = <&fwconcat0 &fwconcat1>;
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
model = "MikroTik RouterBOARD 912UAG-2HPnD";
|
model = "MikroTik RouterBOARD 912UAG-2HPnD";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &led_power;
|
led-boot = &led_power;
|
||||||
led-failsafe = &led_power;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_power;
|
led-running = &led_power;
|
||||||
led-upgrade = &led_power;
|
led-upgrade = &led_power;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_key: gpio_key {
|
gpio_key: gpio_key {
|
||||||
compatible = "mikrotik,gpio-rb91x-key";
|
compatible = "mikrotik,gpio-rb91x-key";
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
led-upgrade = &led_system;
|
led-upgrade = &led_system;
|
||||||
label-mac-device = &wmac;
|
label-mac-device = &wmac;
|
||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
|
@ -54,12 +54,12 @@
|
||||||
label = "green:lan4";
|
label = "green:lan4";
|
||||||
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "green:wps";
|
label = "green:wps";
|
||||||
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan {
|
wlan {
|
||||||
label = "green:wlan";
|
label = "green:wlan";
|
||||||
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
||||||
|
@ -130,16 +130,16 @@
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mtd-cal-data = <&art 0x1000>;
|
mtd-cal-data = <&art 0x1000>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_uboot_1fc00>;
|
nvmem-cells = <&macaddr_uboot_1fc00>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
};
|
};
|
||||||
|
|
||||||
ð0 {
|
ð0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
phy-handle = <&swphy0>;
|
phy-handle = <&swphy0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_uboot_1fc00>;
|
nvmem-cells = <&macaddr_uboot_1fc00>;
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_uboot_1fc00>;
|
nvmem-cells = <&macaddr_uboot_1fc00>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|
||||||
gmac-config {
|
gmac-config {
|
||||||
device = <&gmac>;
|
device = <&gmac>;
|
||||||
switch-phy-swap = <1>;
|
switch-phy-swap = <1>;
|
||||||
|
|
|
@ -18,27 +18,27 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led-0 {
|
led-0 {
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_WLAN;
|
function = LED_FUNCTION_WLAN;
|
||||||
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_power: led-1 {
|
led_power: led-1 {
|
||||||
label = "blue:power";
|
label = "blue:power";
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-2 {
|
led-2 {
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_WAN;
|
function = LED_FUNCTION_WAN;
|
||||||
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-3 {
|
led-3 {
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_WPS;
|
function = LED_FUNCTION_WPS;
|
||||||
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Copyright (C) 2022 Daniel González Cabanelas <dgcbueu@gmail.com>
|
* Copyright (C) 2022 Daniel González Cabanelas <dgcbueu@gmail.com>
|
||||||
* based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts
|
* based on device tree from qca9558_ubnt_powerbeam-5ac-500.dts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qca955x_ubnt_xc.dtsi"
|
#include "qca955x_ubnt_xc.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
||||||
linux,default-trigger = "phy1tpt";
|
linux,default-trigger = "phy1tpt";
|
||||||
};
|
};
|
||||||
|
|
||||||
led_power: power {
|
led_power: power {
|
||||||
label = "green:power";
|
label = "green:power";
|
||||||
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "Reset button";
|
label = "Reset button";
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
@ -83,19 +83,19 @@
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
uboot: partition@0 {
|
uboot: partition@0 {
|
||||||
label = "u-boot";
|
label = "u-boot";
|
||||||
reg = <0x000000 0x080000>;
|
reg = <0x000000 0x080000>;
|
||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
partition@80000 {
|
partition@80000 {
|
||||||
compatible = "denx,uimage";
|
compatible = "denx,uimage";
|
||||||
label = "firmware";
|
label = "firmware";
|
||||||
reg = <0x080000 0xe00000>;
|
reg = <0x080000 0xe00000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
partition@e80000 {
|
partition@e80000 {
|
||||||
label = "product-info";
|
label = "product-info";
|
||||||
reg = <0xe80000 0x05000>;
|
reg = <0xe80000 0x05000>;
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
reg = <0xe85000 0x16b000>;
|
reg = <0xe85000 0x16b000>;
|
||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
art: partition@ff0000 {
|
art: partition@ff0000 {
|
||||||
label = "art";
|
label = "art";
|
||||||
reg = <0xff0000 0x010000>;
|
reg = <0xff0000 0x010000>;
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
|
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
phy-handle = <&phy0>;
|
phy-handle = <&phy0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_config_8>;
|
nvmem-cells = <&macaddr_config_8>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue