| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sama5d3_emac.dtsi - Device Tree Include file for SAMA5D3 SoC with |
|---|
| 3 | 4 | * Ethernet. |
|---|
| 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 | pmc: pmc@fffffc00 { |
|---|
| 35 | | - periphck { |
|---|
| 36 | | - macb1_clk: macb1_clk { |
|---|
| 37 | | - #clock-cells = <0>; |
|---|
| 38 | | - reg = <35>; |
|---|
| 39 | | - }; |
|---|
| 40 | | - }; |
|---|
| 41 | 34 | }; |
|---|
| 42 | 35 | |
|---|
| 43 | 36 | macb1: ethernet@f802c000 { |
|---|
| .. | .. |
|---|
| 46 | 39 | interrupts = <35 IRQ_TYPE_LEVEL_HIGH 3>; |
|---|
| 47 | 40 | pinctrl-names = "default"; |
|---|
| 48 | 41 | pinctrl-0 = <&pinctrl_macb1_rmii>; |
|---|
| 49 | | - clocks = <&macb1_clk>, <&macb1_clk>; |
|---|
| 42 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_PERIPHERAL 35>; |
|---|
| 50 | 43 | clock-names = "hclk", "pclk"; |
|---|
| 51 | 44 | status = "disabled"; |
|---|
| 52 | 45 | }; |
|---|