.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * sama5d3_can.dtsi - Device Tree Include file for SAMA5D3 SoC with |
---|
3 | 4 | * CAN support |
---|
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> |
---|
.. | .. |
---|
32 | 31 | |
---|
33 | 32 | }; |
---|
34 | 33 | |
---|
35 | | - pmc: pmc@fffffc00 { |
---|
36 | | - periphck { |
---|
37 | | - can0_clk: can0_clk { |
---|
38 | | - #clock-cells = <0>; |
---|
39 | | - reg = <40>; |
---|
40 | | - atmel,clk-output-range = <0 83000000>; |
---|
41 | | - }; |
---|
42 | | - |
---|
43 | | - can1_clk: can1_clk { |
---|
44 | | - #clock-cells = <0>; |
---|
45 | | - reg = <41>; |
---|
46 | | - atmel,clk-output-range = <0 83000000>; |
---|
47 | | - }; |
---|
48 | | - }; |
---|
49 | | - }; |
---|
50 | | - |
---|
51 | 34 | can0: can@f000c000 { |
---|
52 | 35 | compatible = "atmel,at91sam9x5-can"; |
---|
53 | 36 | reg = <0xf000c000 0x300>; |
---|
54 | 37 | interrupts = <40 IRQ_TYPE_LEVEL_HIGH 3>; |
---|
55 | 38 | pinctrl-names = "default"; |
---|
56 | 39 | pinctrl-0 = <&pinctrl_can0_rx_tx>; |
---|
57 | | - clocks = <&can0_clk>; |
---|
| 40 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 40>; |
---|
58 | 41 | clock-names = "can_clk"; |
---|
59 | 42 | status = "disabled"; |
---|
60 | 43 | }; |
---|
.. | .. |
---|
65 | 48 | interrupts = <41 IRQ_TYPE_LEVEL_HIGH 3>; |
---|
66 | 49 | pinctrl-names = "default"; |
---|
67 | 50 | pinctrl-0 = <&pinctrl_can1_rx_tx>; |
---|
68 | | - clocks = <&can1_clk>; |
---|
| 51 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 41>; |
---|
69 | 52 | clock-names = "can_clk"; |
---|
70 | 53 | status = "disabled"; |
---|
71 | 54 | }; |
---|