realtek: update GPIO bindings in the dts files in dts-5.10
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 8 May 2021 08:51:29 +0000 (17:51 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 25 Sep 2021 22:32:18 +0000 (00:32 +0200)
commit61a3d0075b151f6742862e123fdff1897d876176
treee41e2ec3fc1500a17ec2c5100d806835d714d45f
parent2e676c05dccc7d5c5cf4ab118f479471be52194a
realtek: update GPIO bindings in the dts files in dts-5.10

this patch includes the following changes:

- adjust mapping for the new driver
  - GPIO 24 -> GPIO 0
  - GPIO 47 -> GPIO 0 (+ disabling system LED)

- disable pins in the invalid range
  (out of the range 0-31 of the new driver)
  - are these pins on the external RTL8231 (&gpio1)?
    - GPIO 67 (-> GPIO 3 on &gpio1?)
    - GPIO 94 (-> GPIO 30 on &gpio1?)

- drop "indirect-access-bus-id" property from gpio0 node in device dts
  files

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
target/linux/realtek/dts-5.10/rtl8382_allnet_all-sg8208m.dts
target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts
target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts