[PATCH RFC 3/3] ARM64: bcm2837-rpi: Fix pwm and i2c pin control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




According to the firmware DT blob [1] the RPi 3 uses different
pins for i2c0 and pwm.

[1] - https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts

Fixes: 9d56c22a7861 ("ARM: bcm2835: Add devicetree for the Raspberry Pi 3.")
Signed-off-by: Stefan Wahren <stefan.wahren@xxxxxxxx>
---
 arch/arm64/boot/dts/broadcom/bcm2837-rpi.dtsi |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi.dtsi b/arch/arm64/boot/dts/broadcom/bcm2837-rpi.dtsi
index 6ddf7df..9f3f3ed 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi.dtsi
@@ -46,7 +46,7 @@
 
 &i2c0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&i2c0_gpio0>;
+	pinctrl-0 = <&i2c0_gpio44>;
 	status = "okay";
 	clock-frequency = <100000>;
 };
@@ -71,7 +71,7 @@
 
 &pwm {
 	pinctrl-names = "default";
-	pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
+	pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
 	status = "okay";
 };
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux