| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sama5d3_gmac.dtsi - Device Tree Include file for SAMA5D3 SoC with |
|---|
| 3 | 4 | * Gigabit 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> |
|---|
| .. | .. |
|---|
| 64 | 63 | }; |
|---|
| 65 | 64 | }; |
|---|
| 66 | 65 | |
|---|
| 67 | | - pmc: pmc@fffffc00 { |
|---|
| 68 | | - periphck { |
|---|
| 69 | | - macb0_clk: macb0_clk { |
|---|
| 70 | | - #clock-cells = <0>; |
|---|
| 71 | | - reg = <34>; |
|---|
| 72 | | - }; |
|---|
| 73 | | - }; |
|---|
| 74 | | - }; |
|---|
| 75 | | - |
|---|
| 76 | 66 | macb0: ethernet@f0028000 { |
|---|
| 77 | 67 | compatible = "atmel,sama5d3-gem"; |
|---|
| 78 | 68 | reg = <0xf0028000 0x100>; |
|---|
| 79 | 69 | interrupts = <34 IRQ_TYPE_LEVEL_HIGH 3>; |
|---|
| 80 | 70 | pinctrl-names = "default"; |
|---|
| 81 | 71 | pinctrl-0 = <&pinctrl_macb0_data_rgmii &pinctrl_macb0_signal_rgmii>; |
|---|
| 82 | | - clocks = <&macb0_clk>, <&macb0_clk>; |
|---|
| 72 | + clocks = <&pmc PMC_TYPE_PERIPHERAL 34>, <&pmc PMC_TYPE_PERIPHERAL 34>; |
|---|
| 83 | 73 | clock-names = "hclk", "pclk"; |
|---|
| 84 | 74 | status = "disabled"; |
|---|
| 85 | 75 | }; |
|---|