.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * at91sam9x5_macb0.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> |
---|
.. | .. |
---|
43 | 42 | }; |
---|
44 | 43 | }; |
---|
45 | 44 | |
---|
46 | | - pmc: pmc@fffffc00 { |
---|
47 | | - periphck { |
---|
48 | | - macb0_clk: macb0_clk { |
---|
49 | | - #clock-cells = <0>; |
---|
50 | | - reg = <24>; |
---|
51 | | - }; |
---|
52 | | - }; |
---|
53 | | - }; |
---|
54 | | - |
---|
55 | 45 | macb0: ethernet@f802c000 { |
---|
56 | 46 | compatible = "cdns,at91sam9260-macb", "cdns,macb"; |
---|
57 | 47 | reg = <0xf802c000 0x100>; |
---|
58 | 48 | interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>; |
---|
59 | 49 | pinctrl-names = "default"; |
---|
60 | 50 | pinctrl-0 = <&pinctrl_macb0_rmii>; |
---|
61 | | - clocks = <&macb0_clk>, <&macb0_clk>; |
---|
| 51 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>; |
---|
62 | 52 | clock-names = "hclk", "pclk"; |
---|
63 | 53 | status = "disabled"; |
---|
64 | 54 | }; |
---|