2
0
forked from Ivasoft/openwrt

ramips: mt7628: update dts for upstream gpio-mt7621 driver

upstream driver merged 3 separated gpio banks into one gpio node.
and gpioX Y in our local driver should be replaced with gpio X*32+Y.

This patch is created using the following sed command:
sed -i -r 's/(.*)gpio([0-9]) ([0-9]+)(.*)/echo "\1gpio $((\2*32+\3))\4"/ge'

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo
2020-04-09 17:10:03 +08:00
parent e320435a6a
commit 0b68d081eb
56 changed files with 278 additions and 320 deletions

View File

@@ -15,7 +15,7 @@
reset {
label = "reset";
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};