]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-dts: review pcie overlay in 'gbpc1' dts file
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 Jun 2021 06:30:31 +0000 (08:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Jun 2021 13:09:28 +0000 (15:09 +0200)
commitf06764fdb42c46ca08356784402f81cb6016217d
treec05a746de89111cc407d2a93aca79fc75cc4346c
parentb44a6dcfa74fe4e7dd947f12fd0048cb9628497f
staging: mt7621-dts: review pcie overlay in 'gbpc1' dts file

pcie node is being overlayed in 'gbpc1.dts' file requesting three
gpio reset pins for each pcie port. Gnubee only needs general
gpio 19 to properly reset and make all of them work. This pin
is already requested in the general 'mt7621.dtsi' file as well
as is the pinctrl pins. So we only need to enable the node
in the overlay and all the other stuff can be safely deleted.
Also, pin 8 is being requested for gpio-leds node and there
was an error on boot before this changes because of pin was
already assigned (EBUSY):

leds-gpio: probe of gpio-leds failed with error -16

With this changes this error has disappear and the board is
properly booting without any other regression.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210604063031.13599-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/gbpc1.dts