ARM: dts: am335x-sancloud-bbe: Fix missing pinctrl refs
authorPaul Barker <paul.barker@sancloud.com>
Fri, 6 Aug 2021 08:59:06 +0000 (09:59 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 10 Aug 2021 06:52:35 +0000 (09:52 +0300)
pinctrl settings for the USB hub, barometer & accelerometer need to be
referenced from the relevant nodes to work.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-sancloud-bbe-common.dtsi
arch/arm/boot/dts/am335x-sancloud-bbe.dts

index 627c18d..55952fe 100644 (file)
@@ -58,6 +58,8 @@
 
 &i2c0 {
        usb2512b: usb-hub@2c {
+               pinctrl-names = "default";
+               pinctrl-0 = <&usb_hub_ctrl>;
                compatible = "microchip,usb2512b";
                reg = <0x2c>;
                reset-gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
index 2a0ac9f..efbe931 100644 (file)
@@ -32,6 +32,8 @@
 
 &i2c0 {
        lps331ap: barometer@5c {
+               pinctrl-names = "default";
+               pinctrl-0 = <&lps3331ap_pins>;
                compatible = "st,lps331ap-press";
                st,drdy-int-pin = <1>;
                reg = <0x5c>;
@@ -40,6 +42,8 @@
        };
 
        mpu6050: accelerometer@68 {
+               pinctrl-names = "default";
+               pinctrl-0 = <&mpu6050_pins>;
                compatible = "invensense,mpu6050";
                reg = <0x68>;
                interrupt-parent = <&gpio0>;