summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Menschel <menschel.p@posteo.de>2017-04-03 20:00:12 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-04 18:41:48 +0300
commit908370f6cd9c4b0346691dac3a01b01e96e6a6cb (patch)
tree5083214cccaa7422101f7bc6c15b7925b7a05f91
parentadb83474c137b7ea35319e84650188a491ad8ba0 (diff)
downloadlinux-908370f6cd9c4b0346691dac3a01b01e96e6a6cb.tar.xz
ARM: dts: sun4i: Add can0_pins_a pinctrl settings
The A10 SoC has an on-board CAN controller. This patch adds the pinctrl settings for pins PH20 and PH21. This patch is adapted from the description in Documentation/devicetree/bindings/net/can/sun4i_can.txt Signed-off-by: Patrick Menschel <menschel.p@posteo.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun4i-a10.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 4182dc59cf11..7562ebafb412 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -973,6 +973,11 @@
#interrupt-cells = <3>;
#gpio-cells = <3>;
+ can0_pins_a: can0@0 {
+ pins = "PH20", "PH21";
+ function = "can";
+ };
+
emac_pins_a: emac0@0 {
pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6",