Hi everyone! I'm trying to add spidev device at Keenetic router with mt7620n SoC to test flash frequency and I'm to face a problem. spidev doesn't add in my system. I have seen how it is implemented already in rt5350_dlink_dwr-512-b.dts but it doesn't work.
mt7620n_zyxel_keenetic-lite-iii-a.dts
....
&spi0 {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <48000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "U-Boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "U-Config";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "RF-EEPROM";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7a0000>;
};
partition@7f0000 {
label = "Config";
reg = <0x7f0000 0x10000>;
};
partition@0_1 {
label = "Full";
reg = <0x0 0x800000>;
};
};
};
};
&spi1 {
status = "okay";
spidev@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "linux,spidev";
reg = <0>;
spi-max-frequency = <48000000>;
};
};
...
Could help me, please to run it with spidev:)