Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616314
| From | Patrick Menschel <menschel.p@posteo.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 2/6] ARM: dts: sun4i: Add CAN node |
| Date | 2017-04-04 20:40 +0200 |
| Message-ID | <tsBx1-ao-33@gated-at.bofh.it> (permalink) |
| References | <tsBx0-ao-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The A10 SoC has an on-board CAN controller.
This patch adds the device node.
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>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 498f7f2..4d8eaf2 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -1329,5 +1329,13 @@
#size-cells = <0>;
};
+ can0: can@01c2bc00 {
+ compatible = "allwinner,sun4i-a10-can";
+ reg = <0x01c2bc00 0x400>;
+ interrupts = <26>;
+ clocks = <&apb1_gates 4>;
+ status = "disabled";
+ };
+
};
};
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/6] ARM: dts: sunxi: Add CAN node and can0_pins_a pinctrl settings Patrick Menschel <menschel.p@posteo.de> - 2017-04-04 20:40 +0200 [PATCH v4 3/6] ARM: dts: sun4i: Add can0_pins_a pinctrl settings Patrick Menschel <menschel.p@posteo.de> - 2017-04-04 20:40 +0200 [PATCH v4 5/6] ARM: dts: sun7i: Add CAN node Patrick Menschel <menschel.p@posteo.de> - 2017-04-04 20:40 +0200 [PATCH v4 6/6] ARM: dts: sun7i: Add can0_pins_a pinctrl settings Patrick Menschel <menschel.p@posteo.de> - 2017-04-04 20:40 +0200 [PATCH v4 1/6] ARM: dts: sun4i: fix device node ordering Patrick Menschel <menschel.p@posteo.de> - 2017-04-04 20:40 +0200 [PATCH v4 2/6] ARM: dts: sun4i: Add CAN node Patrick Menschel <menschel.p@posteo.de> - 2017-04-04 20:40 +0200 [PATCH v4 4/6] ARM: dts: sun7i: fix device node ordering Patrick Menschel <menschel.p@posteo.de> - 2017-04-04 20:40 +0200 Re: [PATCH v4 0/6] ARM: dts: sunxi: Add CAN node and can0_pins_a pinctrl settings Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-05 08:30 +0200
csiph-web