hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/at91sam9x5_can.dtsi
....@@ -1,10 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * at91sam9x5_can.dtsi - Device Tree Include file for AT91SAM9x5 SoC with 1
34 * Ethernet interface.
45 *
56 * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
6
- *
7
- * Licensed under GPLv2.
87 */
98
109 #include <dt-bindings/pinctrl/at91.h>
....@@ -13,27 +12,13 @@
1312 / {
1413 ahb {
1514 apb {
16
- pmc: pmc@fffffc00 {
17
- periphck {
18
- can0_clk: can0_clk {
19
- #clock-cells = <0>;
20
- reg = <29>;
21
- };
22
-
23
- can1_clk: can1_clk {
24
- #clock-cells = <0>;
25
- reg = <30>;
26
- };
27
- };
28
- };
29
-
3015 can0: can@f8000000 {
3116 compatible = "atmel,at91sam9x5-can";
3217 reg = <0xf8000000 0x300>;
3318 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 3>;
3419 pinctrl-names = "default";
3520 pinctrl-0 = <&pinctrl_can0_rx_tx>;
36
- clocks = <&can0_clk>;
21
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 29>;
3722 clock-names = "can_clk";
3823 status = "disabled";
3924 };
....@@ -44,7 +29,7 @@
4429 interrupts = <30 IRQ_TYPE_LEVEL_HIGH 3>;
4530 pinctrl-names = "default";
4631 pinctrl-0 = <&pinctrl_can1_rx_tx>;
47
- clocks = <&can1_clk>;
32
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 30>;
4833 clock-names = "can_clk";
4934 status = "disabled";
5035 };