-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
Hello, I am trying to use MCP23s17 with my Raspberry pi 3 linux 4.14. I use a default Overlay.
my config.txt:
dtoverlay=spi1-2cs
dtoverlay=mcp23s17,s17-spi1-0-present=1,s17-spi1-0-int-gpio=24
I get this massage in
sudo vcdbg log msg
001898.409: brfs: File read: /mfs/sd/overlays/mcp23s17.dtbo
002044.836: Loaded overlay 'mcp23s17'
002044.856: dtparam: s17-spi1-0-present=1
002052.266: dtparam: s17-spi1-0-int-gpio=24
003313.325: Device tree loaded to 0x2eff9800 (size 0x6702)
so my Overlay is loaded and i can use it, but in /dev I get
crw-rw---- 1 root gpio 254, 0 Dec 21 11:00 gpiochip0
crw-rw---- 1 root gpio 254, 1 Dec 21 11:00 gpiochip1
crw-rw---- 1 root gpio 254, 2 Dec 21 11:00 gpiochip2
crw-rw---- 1 root gpio 248, 0 Dec 21 11:00 gpiomem
no gpiochip 3, so, it means that my MCP23s17 in not in the list and i can not grap in it. This problem appeared in Linux 4.14 in linux 4.09 everything was perfect.
What is the solution for this problem?
Thanks a lot.
Metadata
Metadata
Assignees
Labels
No labels