|
9 | 9 | #include <mem.h>
|
10 | 10 | #include <freq.h>
|
11 | 11 | #include <zephyr/dt-bindings/adc/adc.h>
|
| 12 | +#include <zephyr/dt-bindings/clock/renesas_rzg_clock.h> |
12 | 13 |
|
13 | 14 | / {
|
14 | 15 | compatible = "renesas,r9a08g045";
|
|
40 | 41 | #clock-cells = <0>;
|
41 | 42 | };
|
42 | 43 |
|
| 44 | + can_clk: can-clk { |
| 45 | + compatible = "fixed-clock"; |
| 46 | + clock-frequency = <0>; |
| 47 | + #clock-cells = <0>; |
| 48 | + }; |
| 49 | + |
43 | 50 | soc {
|
44 | 51 | cpg: clock-controller@41010000 {
|
45 | 52 | compatible = "renesas,rz-cpg";
|
|
466 | 473 | status = "disabled";
|
467 | 474 | };
|
468 | 475 |
|
| 476 | + canfd_global: canfd-global@400c0000 { |
| 477 | + compatible = "renesas,rz-canfd-global"; |
| 478 | + reg = <0x400c0000 DT_SIZE_K(128)>; |
| 479 | + interrupts = <373 1>, <374 1>; |
| 480 | + interrupt-names = "g_err", "g_recc"; |
| 481 | + status = "disabled"; |
| 482 | + |
| 483 | + canfd0: canfd0 { |
| 484 | + compatible = "renesas,rz-canfd"; |
| 485 | + channel = <0>; |
| 486 | + interrupts = <375 1>, <377 1>, <379 1>; |
| 487 | + interrupt-names = "ch_rec", "ch_err", "ch_trx"; |
| 488 | + status = "disabled"; |
| 489 | + clocks = <&cpg RZ_CLOCK_CANFD(0)>; |
| 490 | + }; |
| 491 | + |
| 492 | + canfd1: canfd1 { |
| 493 | + compatible = "renesas,rz-canfd"; |
| 494 | + channel = <1>; |
| 495 | + interrupts = <376 1>, <378 1>, <380 1>; |
| 496 | + interrupt-names = "ch_rec", "ch_err", "ch_trx"; |
| 497 | + status = "disabled"; |
| 498 | + clocks = <&cpg RZ_CLOCK_CANFD(1)>; |
| 499 | + }; |
| 500 | + }; |
| 501 | + |
469 | 502 | i2c0: i2c@40090000 {
|
470 | 503 | compatible = "renesas,rz-riic";
|
471 | 504 | channel = <0>;
|
|
0 commit comments