Files
eternalwrt-mt798x/target/linux/siflower/dts/sf21h8898_bananapi_bpi-rv2-nor.dts
T
Rosen PenevandJonas Jelonek 9fedddbc1e treewide: remove factory:
For the most part, factory: remains as a hold over from nvmem-layout
conversion and no longer serves any purpose.

In the case of &factory sections, reduce identation slightly by
referencing the nvmem-layout node instead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24008
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-02 10:03:37 +02:00

81 lines
1.4 KiB
Devicetree

/dts-v1/;
#include "sf21h8898_bananapi_bpi-rv2.dtsi"
/ {
model = "Bananapi BPI-RV2 (Booting from NOR)";
compatible = "bananapi,bpi-rv2-nor", "siflower,sf21h8898";
};
&spi0 {
status = "okay";
num-cs = <2>;
cs-gpios = <&gpio 5 GPIO_ACTIVE_LOW>, <&gpio 36 GPIO_ACTIVE_LOW>;
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <35000000>;
spi-tx-bus-width = <2>;
spi-rx-bus-width = <2>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader";
reg = <0x0 0x90000>;
read-only;
};
partition@90000 {
label = "factory";
reg = <0x90000 0x10000>;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_0: macaddr@0 {
compatible = "mac-base";
reg = <0x0 0x6>;
#nvmem-cell-cells = <1>;
};
};
};
rootdisk: partition@a0000 {
label = "firmware";
reg = <0xa0000 0xf60000>;
compatible = "denx,fit";
};
};
};
flash@1 {
compatible = "spi-nand";
reg = <1>;
spi-max-frequency = <35000000>;
spi-tx-bus-width = <2>;
spi-rx-bus-width = <2>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "fbl-nand";
reg = <0x0 0x20000>;
};
partition@20000 {
label = "ubi-nand";
reg = <0x20000 0x0>;
};
};
};
};