You've already forked sunxi-DT-overlays
mirror of
https://github.com/armbian/sunxi-DT-overlays.git
synced 2026-01-06 10:14:43 -08:00
Update CAN overlays for 4.12
This commit is contained in:
@@ -1,35 +1,15 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
/ {
|
||||
compatible = "allwinner,sun4i-a10";
|
||||
|
||||
fragment@0 {
|
||||
target = <&pio>;
|
||||
target = <&can0>;
|
||||
__overlay__ {
|
||||
can_pins: can_pins {
|
||||
pins = "PH20", "PH21";
|
||||
function = "can";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target-path = "/soc@01c00000";
|
||||
__overlay__ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
can@01c2bc00 {
|
||||
compatible = "allwinner,sun4i-a10-can";
|
||||
reg = <0x01c2bc00 0x400>;
|
||||
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&apb1_gates 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&can_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&can0_pins_a>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,35 +1,15 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
/ {
|
||||
compatible = "allwinner,sun7i-a20";
|
||||
|
||||
fragment@0 {
|
||||
target = <&pio>;
|
||||
target = <&can0>;
|
||||
__overlay__ {
|
||||
can_pins: can_pins {
|
||||
pins = "PH20", "PH21";
|
||||
function = "can";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target-path = "/soc@01c00000";
|
||||
__overlay__ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
can@01c2bc00 {
|
||||
compatible = "allwinner,sun4i-a10-can";
|
||||
reg = <0x01c2bc00 0x400>;
|
||||
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&apb1_gates 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&can_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&can0_pins_a>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user