For multi-instance of gpiomem, khadas gpiomem uses seperated
gpiomem nodes with its own dev node name. Because gpiomem driver
is applied as khadas' style, so update from odroid dt files.
Change-Id: I98b802d30045b2936ab98d6e23b81e6aff8068d6
Fixes: commit c167bac048f5 ("char: aml-gpiomem: Update to Khadas' multi-instance version")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
gpiomem {
compatible = "amlogic, gpiomem";
- reg = <0x0 0xff634000 0x0 0x1000>, /* GPIO banks */
- <0x0 0xff800000 0x0 0x1000>; /* GPIO_AO bank */
+ reg = <0x0 0xff634000 0x0 0x1000>; /* GPIO banks */
+ dev_name = "gpiomem";
+ status = "okay";
+ };
+
+ gpiomem_ao {
+ compatible = "amlogic, gpiomem";
+ reg = <0x0 0xff800000 0x0 0x1000>; /* GPIO_AO bank */
+ dev_name = "gpiomem-ao";
status = "okay";
};
gpiomem {
compatible = "amlogic, gpiomem";
reg = <0x0 0xff634000 0x0 0x1000>;
+ dev_name = "gpiomem";
status = "okay";
};