.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * at91sam9x5_can.dtsi - Device Tree Include file for AT91SAM9x5 SoC with 1 |
---|
3 | 4 | * Ethernet interface. |
---|
4 | 5 | * |
---|
5 | 6 | * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com> |
---|
6 | | - * |
---|
7 | | - * Licensed under GPLv2. |
---|
8 | 7 | */ |
---|
9 | 8 | |
---|
10 | 9 | #include <dt-bindings/pinctrl/at91.h> |
---|
.. | .. |
---|
13 | 12 | / { |
---|
14 | 13 | ahb { |
---|
15 | 14 | 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 | | - |
---|
30 | 15 | can0: can@f8000000 { |
---|
31 | 16 | compatible = "atmel,at91sam9x5-can"; |
---|
32 | 17 | reg = <0xf8000000 0x300>; |
---|
33 | 18 | interrupts = <29 IRQ_TYPE_LEVEL_HIGH 3>; |
---|
34 | 19 | pinctrl-names = "default"; |
---|
35 | 20 | pinctrl-0 = <&pinctrl_can0_rx_tx>; |
---|
36 | | - clocks = <&can0_clk>; |
---|
| 21 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 29>; |
---|
37 | 22 | clock-names = "can_clk"; |
---|
38 | 23 | status = "disabled"; |
---|
39 | 24 | }; |
---|
.. | .. |
---|
44 | 29 | interrupts = <30 IRQ_TYPE_LEVEL_HIGH 3>; |
---|
45 | 30 | pinctrl-names = "default"; |
---|
46 | 31 | pinctrl-0 = <&pinctrl_can1_rx_tx>; |
---|
47 | | - clocks = <&can1_clk>; |
---|
| 32 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 30>; |
---|
48 | 33 | clock-names = "can_clk"; |
---|
49 | 34 | status = "disabled"; |
---|
50 | 35 | }; |
---|