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