55 lines
951 B
Plaintext
55 lines
951 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
metadata {
|
|
title ="Enable SPI Nor Flash on ROCK 5A";
|
|
compatible = "radxa,rock-5a", "rockchip,rk3588";
|
|
category = "misc";
|
|
description = "Enable SPI Nor Flash on ROCK 5A";
|
|
};
|
|
|
|
fragment@0 {
|
|
target = <&sfc>;
|
|
|
|
__overlay__ {
|
|
status = "okay";
|
|
max-freq = <50000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&fspim0_pins>;
|
|
|
|
spi_flash: spi-flash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0x0>;
|
|
spi-max-frequency = <50000000>;
|
|
spi-tx-bus-width = <1>;
|
|
spi-rx-bus-width = <4>;
|
|
status = "okay";
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
loader@0 {
|
|
label = "loader";
|
|
reg = <0x0 0x1000000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&sdhci>;
|
|
|
|
__overlay__ {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|