Jump to content

arclight

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    arclight got a reaction from going in 5.15.25 breaks SPI on NanoPi Neo and does not create /dev/spidev0.0   
    i have encountered the same problem as yours. i have downloaded the latest armbian from release page(my board is OrangePi Zero),flash it into sd card,and wrote this overlay:
    /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/aliases"; __overlay__ { spi0 = "/soc/spi@1c68000"; }; }; fragment@1 { target = <&spi0>; __overlay__ { #address-cells = <0>; #size-cells = <0>; status = "okay"; spidev { compatible = "spidev"; status = "okay"; reg = <0>; spi-max-frequency = <1000000>; }; }; }; }; after applying it using `sudo armbian-add-overlay spi0.dts`,it *seems* to be loaded correctly(i use a usb-serial wire to observe console log from on-board debugging serial,it shows "Applying user provided DT overlay spi1.dtbo" and no errors occurred),but when i logged in system,there were no /dev/spidev* show up.
    also, i have noticed there are some spi error in kernel log:
    [ 1.928114] sun6i-spi 1c68000.spi: chipselect 0 already in use [ 1.928149] spi_master spi0: spi_device register error /soc/spi@1c68000/flash@0 [ 1.928200] spi_master spi0: Failed to create SPI device for /soc/spi@1c68000/flash@0 when i change the spi0 to spi1 , the whole spi thing will not work,even if i have checked the `/proc/device-tree/soc/spi@1c690000/spidev/status` file is "okay"(and dmesg shows nothing related to spi). doesn't know what kinda thing happened.
    sorry for my pool English,i'm not a native English speaker.
    i wish these infomations will help the developer.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines