};
timer: timer@100 {
- compatible = "ralink,mt7620a-timer", "ralink,rt2880-timer";
+ compatible = "ralink,rt2880-timer";
reg = <0x100 0x20>;
clocks = <&sysc 5>;
};
watchdog: watchdog@120 {
- compatible = "ralink,mt7620a-wdt", "ralink,rt2880-wdt";
+ compatible = "ralink,rt2880-wdt";
reg = <0x120 0x10>;
clocks = <&sysc 6>;
};
intc: intc@200 {
- compatible = "ralink,mt7620a-intc", "ralink,rt2880-intc";
+ compatible = "ralink,rt2880-intc";
reg = <0x200 0x100>;
interrupt-controller;
};
gpio0: gpio@600 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x600 0x34>;
interrupt-parent = <&intc>;
};
gpio1: gpio@638 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x638 0x24>;
interrupt-parent = <&intc>;
};
gpio2: gpio@660 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x660 0x24>;
interrupt-parent = <&intc>;
};
gpio3: gpio@688 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x688 0x24>;
interrupt-parent = <&intc>;
};
spi0: spi@b00 {
- compatible = "ralink,mt7620a-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb00 0x40>;
clocks = <&sysc 10>;
mediatek,switch = <&gsw>;
port@4 {
- compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port";
+ compatible = "mediatek,eth-port";
reg = <4>;
status = "disabled";
};
port@5 {
- compatible = "mediatek,mt7620a-gsw-port", "mediatek,eth-port";
+ compatible = "mediatek,eth-port";
reg = <5>;
status = "disabled";
};
timer: timer@100 {
- compatible = "ralink,mt7620a-timer", "ralink,rt2880-timer";
+ compatible = "ralink,rt2880-timer";
reg = <0x100 0x20>;
clocks = <&sysc 5>;
};
watchdog: watchdog@120 {
- compatible = "ralink,mt7620a-wdt", "ralink,rt2880-wdt";
+ compatible = "ralink,rt2880-wdt";
reg = <0x120 0x10>;
clocks = <&sysc 6>;
};
intc: intc@200 {
- compatible = "ralink,mt7620a-intc", "ralink,rt2880-intc";
+ compatible = "ralink,rt2880-intc";
reg = <0x200 0x100>;
interrupt-controller;
};
gpio0: gpio@600 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x600 0x34>;
interrupt-parent = <&intc>;
};
gpio1: gpio@638 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x638 0x24>;
interrupt-parent = <&intc>;
};
gpio2: gpio@660 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x660 0x24>;
interrupt-parent = <&intc>;
};
gpio3: gpio@688 {
- compatible = "ralink,mt7620a-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x688 0x24>;
interrupt-parent = <&intc>;
};
spi0: spi@b00 {
- compatible = "ralink,mt7620a-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb00 0x40>;
clocks = <&sysc 10>;
};
intc: intc@200 {
- compatible = "ralink,mt7628an-intc", "ralink,rt2880-intc";
+ compatible = "ralink,rt2880-intc";
reg = <0x200 0x100>;
interrupt-controller;
};
esw: esw@10110000 {
- compatible = "mediatek,mt7628-esw", "ralink,rt3050-esw";
+ compatible = "ralink,rt3050-esw";
reg = <0x10110000 0x8000>;
resets = <&sysc 24>;
status = "disabled";
port@0 {
- compatible = "ralink,rt2880-port", "mediatek,eth-port";
+ compatible = "mediatek,eth-port";
reg = <0>;
};
};
timer: timer@100 {
- compatible = "ralink,rt3050-timer", "ralink,rt2880-timer";
+ compatible = "ralink,rt2880-timer";
reg = <0x100 0x20>;
clocks = <&sysc 3>;
};
watchdog: watchdog@120 {
- compatible = "ralink,rt3050-wdt", "ralink,rt2880-wdt";
+ compatible = "ralink,rt2880-wdt";
reg = <0x120 0x10>;
clocks = <&sysc 4>;
};
intc: intc@200 {
- compatible = "ralink,rt3050-intc", "ralink,rt2880-intc";
+ compatible = "ralink,rt2880-intc";
reg = <0x200 0x100>;
interrupt-controller;
};
uart: uart@500 {
- compatible = "ralink,rt3050-uart", "ralink,rt2880-uart", "ns16550a";
+ compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0x500 0x100>;
clocks = <&sysc 5>;
};
gpio0: gpio@600 {
- compatible = "ralink,rt3050-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x600 0x34>;
gpio-controller;
};
gpio1: gpio@638 {
- compatible = "ralink,rt3050-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x638 0x24>;
gpio-controller;
};
gpio2: gpio@660 {
- compatible = "ralink,rt3050-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x660 0x24>;
gpio-controller;
};
spi0: spi@b00 {
- compatible = "ralink,rt3050-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb00 0x100>;
resets = <&sysc 18>;
};
uartlite: uartlite@c00 {
- compatible = "ralink,rt3050-uart", "ralink,rt2880-uart", "ns16550a";
+ compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>;
clocks = <&sysc 10>;
};
timer: timer@100 {
- compatible = "ralink,rt3352-timer", "ralink,rt2880-timer";
+ compatible = "ralink,rt2880-timer";
reg = <0x100 0x20>;
clocks = <&sysc 4>;
};
watchdog: watchdog@120 {
- compatible = "ralink,rt3352-wdt", "ralink,rt2880-wdt";
+ compatible = "ralink,rt2880-wdt";
reg = <0x120 0x10>;
clocks = <&sysc 5>;
};
intc: intc@200 {
- compatible = "ralink,rt3352-intc", "ralink,rt2880-intc";
+ compatible = "ralink,rt2880-intc";
reg = <0x200 0x100>;
interrupt-controller;
};
memc: memc@300 {
- compatible = "ralink,rt3352-memc", "ralink,rt3050-memc";
+ compatible = "ralink,rt3050-memc";
reg = <0x300 0x100>;
interrupt-parent = <&intc>;
};
uart: uart@500 {
- compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a";
+ compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0x500 0x100>;
clocks = <&sysc 6>;
};
gpio0: gpio@600 {
- compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x600 0x34>;
gpio-controller;
};
gpio1: gpio@638 {
- compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x638 0x24>;
gpio-controller;
};
gpio2: gpio@660 {
- compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x660 0x24>;
gpio-controller;
};
spi0: spi@b00 {
- compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb00 0x40>;
#address-cells = <1>;
#size-cells = <0>;
};
spi1: spi@b40 {
- compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb40 0x60>;
#address-cells = <1>;
#size-cells = <0>;
};
uartlite: uartlite@c00 {
- compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a";
+ compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>;
clocks = <&sysc 11>;
};
ethernet: ethernet@10100000 {
- compatible = "ralink,rt3352-eth", "ralink,rt3050-eth";
+ compatible = "ralink,rt3050-eth";
reg = <0x10100000 0x10000>;
clocks = <&sysc 12>;
};
esw: esw@10110000 {
- compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
+ compatible = "ralink,rt3050-esw";
reg = <0x10110000 0x8000>;
resets = <&sysc 24>;
};
timer: timer@100 {
- compatible = "ralink,rt3883-timer", "ralink,rt2880-timer";
+ compatible = "ralink,rt2880-timer";
reg = <0x100 0x20>;
clocks = <&sysc 3>;
};
watchdog: watchdog@120 {
- compatible = "ralink,rt3883-wdt", "ralink,rt2880-wdt";
+ compatible = "ralink,rt2880-wdt";
reg = <0x120 0x10>;
clocks = <&sysc 4>;
};
intc: intc@200 {
- compatible = "ralink,rt3883-intc", "ralink,rt2880-intc";
+ compatible = "ralink,rt2880-intc";
reg = <0x200 0x100>;
interrupt-controller;
};
gpio0: gpio@600 {
- compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x600 0x34>;
interrupt-parent = <&intc>;
};
gpio1: gpio@638 {
- compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x638 0x24>;
gpio-controller;
};
gpio2: gpio@660 {
- compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x660 0x24>;
gpio-controller;
};
gpio3: gpio@688 {
- compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x688 0x24>;
gpio-controller;
};
spi0: spi@b00 {
- compatible = "ralink,rt3883-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb00 0x40>;
#address-cells = <1>;
#size-cells = <0>;
};
spi1: spi@b40 {
- compatible = "ralink,rt3883-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb40 0x60>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <5>;
port@0 {
- compatible = "ralink,rt3883-port", "mediatek,eth-port";
+ compatible = "mediatek,eth-port";
reg = <0>;
};
};
timer: timer@100 {
- compatible = "ralink,rt5350-timer", "ralink,rt2880-timer";
+ compatible = "ralink,rt2880-timer";
reg = <0x100 0x20>;
clocks = <&sysc 4>;
};
watchdog: watchdog@120 {
- compatible = "ralink,rt5350-wdt", "ralink,rt2880-wdt";
+ compatible = "ralink,rt2880-wdt";
reg = <0x120 0x10>;
clocks = <&sysc 5>;
};
intc: intc@200 {
- compatible = "ralink,rt5350-intc", "ralink,rt2880-intc";
+ compatible = "ralink,rt2880-intc";
reg = <0x200 0x100>;
interrupt-controller;
};
uart: uart@500 {
- compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a";
+ compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0x500 0x100>;
clocks = <&sysc 6>;
};
gpio0: gpio@600 {
- compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x600 0x34>;
interrupt-parent = <&intc>;
};
gpio1: gpio@660 {
- compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
+ compatible = "ralink,rt2880-gpio";
reg = <0x660 0x24>;
interrupt-parent = <&intc>;
};
spi0: spi@b00 {
- compatible = "ralink,rt5350-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb00 0x40>;
clocks = <&sysc 9>;
};
spi1: spi@b40 {
- compatible = "ralink,rt5350-spi", "ralink,rt2880-spi";
+ compatible = "ralink,rt2880-spi";
reg = <0xb40 0x60>;
clocks = <&sysc 10>;
};
uartlite: uartlite@c00 {
- compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a";
+ compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>;
clocks = <&sysc 11>;
};
esw: esw@10110000 {
- compatible = "ralink,rt5350-esw", "ralink,rt3050-esw";
+ compatible = "ralink,rt3050-esw";
reg = <0x10110000 0x8000>;
resets = <&sysc 24>;
+Example:
+
+ gpio0: gpio@600 {
-+ compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio";
++ compatible = "ralink,rt2880-gpio";
+
+ #gpio-cells = <2>;
+ gpio-controller;