Hello.
I’m sorry to my English not well…:-(
I trying to access EEPROM via SPI on JETSON NANO.
It uses SPI0 pin numbers 89,91,93,95 on SODIMM.
The EEPROM Information is forrows,
Manufacture: Microchip
Model: 93LC56B
Please tell me how to change Device Tree.
Thank you.
Please check with the vendor to get the driver and dts configure.
Hello.
I had looked for the driver and dts configure, but It not found.
So I trying to edit the exsisting configure ‘tegra210-porg-p3448-common.dtsi’ and ‘tegra210-porg-eeprom-manager.dtsi’.
[common]
spi@7000d400 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
reg = <0x0>;
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <7>;
spieeprom@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "Microchip,93LC56B";
reg = <0>;
spi-max-frequency = <1000000>;
spi-cs-high;
spi-cpha;
spi-3wire;
size = <256>;
};
};
[eeprom-manager]
/ {
eeprom-manager {
data-size = <0x100>;
bus@0 {
spi_bus = <&spi0>;
};
};
};
Thank you.