Files
eternalwrt-mt798x/target/linux/airoha/dts/an758x-nokia_xg-040g-common.dtsi
T
Mikhail ZhilkinandJonas Jelonek 05c4cb954e airoha: move common Nokia XG-040G properties to dtsi files
Move shared DTS properties for Nokia XG-040G-MD and XG-040G-MF into
common DTSI files to reduce duplication:
- an758x-nokia_xg-040g-common.dtsi
- an758x-nokia_xg-040g-stock-parts.dtsi
- an758x-nokia_xg-040g-ubi-parts.dtsi

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23809
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-18 10:21:08 +02:00

74 lines
1.1 KiB
Devicetree

// SPDX-License-Identifier: GPL-2.0-only OR MIT
/ {
aliases {
label-mac-device = &gdm1;
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
serial0 = &uart1;
};
chosen {
bootargs = "console=ttyS0,115200 earlycon";
stdout-path = "serial0:115200n8";
linux,usable-memory-range =
<0x0 0x80200000 0x0 0x1fe00000>;
};
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x20000000>;
};
};
&eth {
status = "okay";
};
&eth_pcs {
status = "okay";
};
&i2c0 {
status = "okay";
};
&npu {
status = "okay";
};
&pon_pcs {
status = "okay";
};
&snfi {
status = "okay";
};
&spi_nand {
/*
* ECC must be aligned with bootloader to prevent read errors.
* Stock fw also uses NAND_ECC_NONE.
*/
nand-ecc-mode = "none";
nand-ecc-step-size = <2048>;
nand-ecc-strength = <0>;
partitions: partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
};
};
&gdm1 {
status = "okay";
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_factory_3e (0)>;
};