.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * sama5d3_uart.dtsi - Device Tree Include file for SAMA5D3 SoC with |
---|
3 | 4 | * UART 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> |
---|
.. | .. |
---|
37 | 36 | }; |
---|
38 | 37 | }; |
---|
39 | 38 | |
---|
40 | | - pmc: pmc@fffffc00 { |
---|
41 | | - periphck { |
---|
42 | | - uart0_clk: uart0_clk { |
---|
43 | | - #clock-cells = <0>; |
---|
44 | | - reg = <16>; |
---|
45 | | - atmel,clk-output-range = <0 83000000>; |
---|
46 | | - }; |
---|
47 | | - |
---|
48 | | - uart1_clk: uart1_clk { |
---|
49 | | - #clock-cells = <0>; |
---|
50 | | - reg = <17>; |
---|
51 | | - atmel,clk-output-range = <0 83000000>; |
---|
52 | | - }; |
---|
53 | | - }; |
---|
54 | | - }; |
---|
55 | | - |
---|
56 | 39 | uart0: serial@f0024000 { |
---|
57 | 40 | compatible = "atmel,at91sam9260-usart"; |
---|
58 | 41 | reg = <0xf0024000 0x100>; |
---|
59 | 42 | interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>; |
---|
60 | 43 | pinctrl-names = "default"; |
---|
61 | 44 | pinctrl-0 = <&pinctrl_uart0>; |
---|
62 | | - clocks = <&uart0_clk>; |
---|
| 45 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; |
---|
63 | 46 | clock-names = "usart"; |
---|
64 | 47 | status = "disabled"; |
---|
65 | 48 | }; |
---|
.. | .. |
---|
70 | 53 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>; |
---|
71 | 54 | pinctrl-names = "default"; |
---|
72 | 55 | pinctrl-0 = <&pinctrl_uart1>; |
---|
73 | | - clocks = <&uart1_clk>; |
---|
| 56 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 17>; |
---|
74 | 57 | clock-names = "usart"; |
---|
75 | 58 | status = "disabled"; |
---|
76 | 59 | }; |
---|