[PATCH 1/3] ARM: dts: sun7i: add pinctrl for CAN in PA bank
From: Mans Rullgard
Date: Wed Feb 20 2019 - 09:26:05 EST
This adds pinctrl settings for the CAN controller using pins
PA16 and PA17.
Signed-off-by: Mans Rullgard <mans@xxxxxxxxx>
---
arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 76d0c961f01e..4528c91ef837 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -757,6 +757,12 @@
#interrupt-cells = <3>;
#gpio-cells = <3>;
+ /omit-if-no-ref/
+ can_pa_pins: can-pa-pins {
+ pins = "PA16", "PA17";
+ function = "can";
+ };
+
can_ph_pins: can-ph-pins {
pins = "PH20", "PH21";
function = "can";
--
2.20.1