diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-07 10:34:33 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-08 13:46:30 +0200 |
commit | f761f4052c411bababed2d2e9d8dc3f43380e4ee (patch) | |
tree | 8436978a65ddb3d5dad2a504f77552a5eb79163f /target/linux/ramips/dts | |
parent | 48b4aab80cd34682616bf7f12c41e35e27a49504 (diff) | |
download | upstream-f761f4052c411bababed2d2e9d8dc3f43380e4ee.tar.gz upstream-f761f4052c411bababed2d2e9d8dc3f43380e4ee.tar.bz2 upstream-f761f4052c411bababed2d2e9d8dc3f43380e4ee.zip |
ramips: mt7621: harmonize naming scheme for Mikrotik
So far, image/device/board names for Mikrotik devices in mt7621 have
been used quite inconsistently.
This patch harmonizes the naming scheme by applying the same style
as used lately in ath79, i.e. using "RouterBOARD" as separate word
in the model name (instead of RB prefix for the number) and deriving
the board/device name from that (= make lower case and replace spaces
by hyphens).
This style has already been used for most the model/DEVICE_MODEL
variables in mt7621, so this is essentially just adjusting the remaining
variables to that.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts (renamed from target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts) | 6 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts (renamed from target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts) | 14 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts (renamed from target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts) | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts index e268b233d4..3f37155f24 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts @@ -7,7 +7,7 @@ #include <dt-bindings/gpio/gpio.h> / { - compatible = "mikrotik,rb750gr3", "mediatek,mt7621-soc"; + compatible = "mikrotik,routerboard-750gr3", "mediatek,mt7621-soc"; model = "MikroTik RouterBOARD 750Gr3"; aliases { @@ -25,13 +25,13 @@ compatible = "gpio-leds"; pwr { - label = "rb750gr3:blue:pwr"; + label = "routerboard-750gr3:blue:pwr"; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>; default-state = "on"; }; led_usr: usr { - label = "rb750gr3:green:usr"; + label = "routerboard-750gr3:green:usr"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts index aae899c9a6..bd58aea951 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts @@ -6,7 +6,7 @@ #include <dt-bindings/gpio/gpio.h> / { - compatible = "mikrotik,rbm11g", "mediatek,mt7621-soc"; + compatible = "mikrotik,routerboard-m11g", "mediatek,mt7621-soc"; model = "MikroTik RouterBOARD M11G"; aliases { @@ -24,32 +24,32 @@ compatible = "gpio-leds"; led_usr: usr { - label = "rbm11g:green:usr"; + label = "routerboard-m11g:green:usr"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; }; rssi0 { - label = "rbm11g:green:rssi0"; + label = "routerboard-m11g:green:rssi0"; gpios = <&gpio 22 GPIO_ACTIVE_LOW>; }; rssi1 { - label = "rbm11g:green:rssi1"; + label = "routerboard-m11g:green:rssi1"; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; }; rssi2 { - label = "rbm11g:green:rssi2"; + label = "routerboard-m11g:green:rssi2"; gpios = <&gpio 24 GPIO_ACTIVE_LOW>; }; rssi3 { - label = "rbm11g:green:rssi3"; + label = "routerboard-m11g:green:rssi3"; gpios = <&gpio 25 GPIO_ACTIVE_LOW>; }; rssi4 { - label = "rbm11g:green:rssi4"; + label = "routerboard-m11g:green:rssi4"; gpios = <&gpio 26 GPIO_ACTIVE_LOW>; }; }; diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts index f7889bd68a..19e1a71e99 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts @@ -6,7 +6,7 @@ #include <dt-bindings/gpio/gpio.h> / { - compatible = "mikrotik,rbm33g", "mediatek,mt7621-soc"; + compatible = "mikrotik,routerboard-m33g", "mediatek,mt7621-soc"; model = "MikroTik RouterBOARD M33G"; aliases { @@ -24,7 +24,7 @@ compatible = "gpio-leds"; led_usr: usr { - label = "rbm33g:green:usr"; + label = "routerboard-m33g:green:usr"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; }; }; |