File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
arch/riscv/boot/dts/allwinner Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 52
52
#gpio-cells = <3>;
53
53
#interrupt-cells = <3>;
54
54
55
+ /omit-if-no-ref/
56
+ can0_pins: can0-pins {
57
+ pins = "PB2", "PB3";
58
+ function = "can0";
59
+ };
60
+
61
+ /omit-if-no-ref/
62
+ can1_pins: can1-pins {
63
+ pins = "PB4", "PB5";
64
+ function = "can1";
65
+ };
66
+
55
67
/omit-if-no-ref/
56
68
clk_pg11_pin: clk-pg11-pin {
57
69
pins = "PG11";
356
368
#size-cells = <0>;
357
369
};
358
370
371
+ can0: can@2504000 {
372
+ compatible = "allwinner,sun20i-d1-can";
373
+ reg = <0x02504000 0x400>;
374
+ interrupts = <SOC_PERIPHERAL_IRQ(21) IRQ_TYPE_LEVEL_HIGH>;
375
+ clocks = <&ccu CLK_BUS_CAN0>;
376
+ resets = <&ccu RST_BUS_CAN0>;
377
+ pinctrl-names = "default";
378
+ pinctrl-0 = <&can0_pins>;
379
+ status = "disabled";
380
+ };
381
+
382
+ can1: can@2504400 {
383
+ compatible = "allwinner,sun20i-d1-can";
384
+ reg = <0x02504400 0x400>;
385
+ interrupts = <SOC_PERIPHERAL_IRQ(22) IRQ_TYPE_LEVEL_HIGH>;
386
+ clocks = <&ccu CLK_BUS_CAN1>;
387
+ resets = <&ccu RST_BUS_CAN1>;
388
+ pinctrl-names = "default";
389
+ pinctrl-0 = <&can1_pins>;
390
+ status = "disabled";
391
+ };
392
+
359
393
syscon: syscon@3000000 {
360
394
compatible = "allwinner,sun20i-d1-system-control";
361
395
reg = <0x3000000 0x1000>;
You can’t perform that action at this time.
0 commit comments