]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: mt7621-dts: fix GB-PC2 devicetree
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 11 Mar 2022 09:03:20 +0000 (12:03 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:58:10 +0000 (11:58 +0200)
commitfb19fdf7e6c70f93539bae2c71c328a79d755784
treeb3b6d0eaa13c652c2ae2ca143299ddc98ecee165
parent2183682f3f8fe9c9c722a6aeba95a246f517e0f0
staging: mt7621-dts: fix GB-PC2 devicetree

BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit 5bc148649cf358d0cccf525452a4efbd4bc89a0f ]

Fix the GB-PC2 devicetree. Refer to the schematics of the device for more
information.

GB-PC2 devicetree fixes:
- Include mt7621.dtsi instead of gbpc1.dts. Add the missing definitions.
- Remove gpio-leds node as the system LED is not wired to anywhere on
the board and the power LED is directly wired to GND.
- Remove uart3 pin group from gpio-pinmux node as it's not used as GPIO.
- Use reg 7 for the external phy to be on par with
Documentation/devicetree/bindings/net/dsa/mt7530.txt.
- Use the status value "okay".

Link: https://github.com/ngiger/GnuBee_Docs/blob/master/GB-PCx/Documents/GB-PC2_V1.1_schematic.pdf
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20220311090320.3068-2-arinc.unal@arinc9.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 127a5d3e732df7d7fb5bdbbaca3acdd679003605)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/staging/mt7621-dts/gbpc2.dts