The overlay I am trying to apply now looks like this:
/dts-v1/;
/plugin/;
/ {
compatible = "rockchip,rk3399";
fragment@0 {
target-path = "/spi@ff1d0000";
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
cs-gpios = <0>, <0x16 0x1d 0x00>;
status = "okay";
spidev@0 {
compatible = "rockchip,spidev";
reg = <0>;
status = "okay";
spi-max-frequency = < 0x989680 >;
};
spidev@1 {
compatible = "rockchip, spidev";
status = "okay";
reg = <1>;
spi-max-frequency = <10000000>;
};
spiflash@0 {
compatible = "jedec,spi-nor";
reg = < 0x00 >;
spi-max-frequency = < 0x989680 >;
status = "disabled";
};
};
};
};
Can you please point help out figuring what I did not get right ?