label-mac-device = &gmac0;
};
- memory {
- reg = <0 0x40000000 0 0x0F000000>;
+ memory@40000000 {
+ reg = <0 0x40000000 0 0x0f000000>;
+ device_type = "memory";
};
rtkgsw: rtkgsw@0 {
model = "Buffalo WSR-3200AX4S";
compatible = "buffalo,wsr-3200ax4s", "mediatek,mt7622";
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x1f000000>;
+ device_type = "memory";
};
};
};
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
};
enable-active-high;
};
- memory {
- reg = <0 0x40000000 0 0x3F000000>;
+ memory@40000000 {
+ reg = <0 0x40000000 0 0x3f000000>;
+ device_type = "memory";
};
reg_1p8v: regulator-1p8v {
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 swiotlb=512";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x1f000000>;
+ device_type = "memory";
};
leds {
};
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
reg_1p8v: regulator-1p8v {
};
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
};
};
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
};
};
};
- memory {
+ memory@40000000 {
reg = <0x0 0x40000000 0x0 0x40000000>;
+ device_type = "memory";
};
reserved-memory {
};
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x3f000000>;
+ device_type = "memory";
};
reg_1p8v: regulator-1p8v {
bootargs = "earlycon=uart8250,mmio32,0x11002000 swiotlb=512 ubi.block=0,fit root=/dev/fit0";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x8000000>;
+ device_type = "memory";
};
leds {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>; // 256mb
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
bootargs-override = "";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
gpio-keys {
};
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
};
rootdisk = <&firmware>;
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
reg_3p3v: regulator-3p3v {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
};
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
keys {
memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
beeper {
rootdisk = <&ubi_fit_volume>;
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
reg_3p3v: regulator-3p3v {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
};
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
};
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
gpio-keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
gpio-keys {
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
gpio-keys {
stdout-path = "serial0:115200n8";
};
- memory@0 {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
reg_1p8v: regulator-1p8v {
bootargs = "dm-mod.create=\"acer,,,ro,0 1 zero 1 0 0 0\" rootfstype=squashfs,ext4 rootwait root=/dev/mmcblk0p6 fstools_ignore_partname=1";
};
- memory@0 {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
reg_1p8v: regulator-1p8v {
bootargs-override = "";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
keys {
bootargs-override = "";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
keys {
bootargs-override = "";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
keys {
rootdisk-spim-nand = <&nand_rootdisk>;
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x80000000>;
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
gpio-keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x10000000>;
+ device_type = "memory";
};
keys {
memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
gpio-keys {
memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
gpio-keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
reg_3p3v: regulator-3p3v {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
reg_3p3v: regulator-3p3v {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
reg_1p8v: regulator-1p8v {
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
reg_3p3v: regulator-3p3v {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
keys {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
keys {
bootargs = "console=ttyS0,115200n1 pci=pcie_bus_perf root=PARTLABEL=rootfs";
};
- memory {
+ memory@40000000 {
reg = <0x0 0x40000000 0x0 0x40000000>;
+ device_type = "memory";
};
reserved-memory {
led-upgrade = &led_status_blue;
};
- memory {
+ memory@40000000 {
reg = <0x0 0x40000000 0x0 0x40000000>;
+ device_type = "memory";
};
cpus {
bootargs-append = " root=/dev/fit0 rootwait";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
+ device_type = "memory";
};
reg_3p3v: regulator-3p3v {
stdout-path = "serial0:115200n8";
};
- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
+ device_type = "memory";
};
reg_1p8v: regulator-1p8v {
+};
--- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt7988a-rfb.dts
-@@ -0,0 +1,470 @@
+@@ -0,0 +1,471 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2022 MediaTek Inc.
+ pci=pcie_bus_perf";
+ };
+
-+ memory {
++ memory@40000000 {
+ reg = <0 0x40000000 0 0x40000000>;
++ device_type = "memory";
+ };
+
+ reg_1p8v: regulator-1p8v {
};
fan: pwm-fan {
-@@ -50,6 +54,141 @@
+@@ -50,6 +54,142 @@
rate-select0-gpios = <&pio 21 GPIO_ACTIVE_LOW>;
maximum-power-milliwatt = <3000>;
};
+ led-upgrade = &led_green;
+ };
+
-+ memory {
++ memory@40000000 {
+ reg = <0x00 0x40000000 0x00 0x10000000>;
++ device_type = "memory";
+ };
+
+ /* SFP1 cage (WAN) */
};
&cci {
-@@ -174,6 +313,10 @@
+@@ -174,6 +314,10 @@
color = <LED_COLOR_ID_GREEN>;
};
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
-@@ -265,6 +408,14 @@
+@@ -265,6 +409,14 @@
#size-cells = <0>;
reg = <1>;
};
};
};
-@@ -364,34 +515,6 @@
+@@ -364,34 +516,6 @@
};
};
i2p5gbe_led0_pins: 2p5gbe-led0-pins {
mux {
function = "led";
-@@ -399,13 +522,6 @@
+@@ -399,13 +523,6 @@
};
};
mmc0_pins_emmc_45: mmc0-emmc-45-pins {
mux {
function = "flash";
-@@ -427,40 +543,12 @@
+@@ -427,40 +544,12 @@
};
};
};
&pwm {
-@@ -500,6 +588,32 @@
+@@ -500,6 +589,32 @@
reg = <0x0 0x200000>;
read-only;
};