arm64: dts: rockchip: 'Fix' nanopi4 uSD card detect
authorRobin Murphy <robin.murphy@arm.com>
Mon, 14 Jan 2019 12:05:34 +0000 (12:05 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 17 Jan 2019 13:59:33 +0000 (14:59 +0100)
commit10f595eedc22a4ffcdeee23093fbb32a5a5b0226
tree2b5387ce8c4ad764adf68ae639a3ae5fb4425718
parent95658e21b1707ad7844f873db2fdaa295109a5a3
arm64: dts: rockchip: 'Fix' nanopi4 uSD card detect

For whatever reason, the sdmmc_dectn function isn't working properly
as-is, and microSD insertion and removal goes unnoticed. Using the pin
as a GPIO interrupt instead is rather noisy without any debouncing, but
is good enough to make it useful until someone feels inclined to figure
out how the vendor kernel/firmware gets the dedicated function to work
with no obvious difference in the pinmux/GRF configuration. Let's also
take the opportunity to tweak the node name so that all related pins
end up grouped together in the compiled DTB.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi