But “devmem2 0x6910000” is ok. Both “0x2310000.ethernet” and “0x6910000.ethernet” are ethernet nodes. And I didn’t add them to dts. I would like to know how to fix it so that I can successfully access “0x2310000.ethernet” .
Actually, I want to read/write PHY registers with mdio-tools. It’s fine when I access 0x6810000/0x6910000, but it’s not fine when I access 0x2310000. So I tested those addresses with devmem2. They have the same result. I also found that “0x31e0000.i2c” can be accessible, but “0x3210000.spi” is not. I don’t understand why some addresses are accessible and others aren’t. 0x2310000 is the address I need to access in my project.
Yes, I think some code restricts access to 0x2310000 and other addresses. We can confirm this using devmem2. Some addresses in the /sys/devices/platform/ directory can be accessed, but others can’t.