379696793612eaf223de51463b1fafb44806dd35
[openwrt/staging/hauke.git] /
1 From 2f34ae32f5e74096540cd7ce95bfd467cb74b21a Mon Sep 17 00:00:00 2001
2 From: Vivek Unune <npcomplete13@gmail.com>
3 Date: Wed, 4 Nov 2020 15:29:51 -0500
4 Subject: [PATCH] ARM: dts: BCM5301X: Use corretc pinctrl compatible for 4709x
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 BCM47094 version of pinmux uses different compatible and supports MDIO
10 pinmux pins. Hence, use the correct compatible string and defines the
11 MDIO pins group.
12
13 Signed-off-by: Vivek Unune <npcomplete13@gmail.com>
14 Acked-by: Rafał Miłecki <rafal@milecki.pl>
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 ---
17 arch/arm/boot/dts/bcm47094.dtsi | 9 +++++++++
18 arch/arm/boot/dts/bcm5301x.dtsi | 2 +-
19 2 files changed, 10 insertions(+), 1 deletion(-)
20
21 --- a/arch/arm/boot/dts/bcm47094.dtsi
22 +++ b/arch/arm/boot/dts/bcm47094.dtsi
23 @@ -8,6 +8,15 @@
24 / {
25 };
26
27 +&pinctrl {
28 + compatible = "brcm,bcm4709-pinmux";
29 +
30 + pinmux_mdio: mdio {
31 + groups = "mdio_grp";
32 + function = "mdio";
33 + };
34 +};
35 +
36 &usb3_phy {
37 compatible = "brcm,ns-bx-usb3-phy";
38 };
39 --- a/arch/arm/boot/dts/bcm5301x.dtsi
40 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
41 @@ -428,7 +428,7 @@
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 - pin-controller@1c0 {
46 + pinctrl: pin-controller@1c0 {
47 compatible = "brcm,bcm4708-pinmux";
48 reg = <0x1c0 0x24>;
49 reg-names = "cru_gpio_control";