Nicolas Ferre | 44b5c40 | 2019-08-08 07:48:26 +0000 | [diff] [blame^] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * sama5d27_wlsom1.dtsi - Device Tree file for SAMA5D27 WLSOM1 |
| 4 | * |
| 5 | * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries |
| 6 | * |
| 7 | * Author: Nicolas Ferre <nicolas.ferre@microcihp.com> |
| 8 | */ |
| 9 | #include "sama5d2.dtsi" |
| 10 | #include "sama5d2-pinfunc.h" |
| 11 | / { |
| 12 | model = "Microchip SAMA5D27 WLSOM1"; |
| 13 | compatible = "microchip,sama5d27-wlsom1", "atmel,sama5d2", "atmel,sama5"; |
| 14 | |
| 15 | memory { |
| 16 | reg = <0x20000000 0x10000000>; |
| 17 | }; |
| 18 | |
| 19 | ahb { |
| 20 | apb { |
| 21 | macb0: ethernet@f8008000 { |
| 22 | pinctrl-names = "default"; |
| 23 | pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>; |
| 24 | phy-mode = "rmii"; |
| 25 | |
| 26 | ethernet-phy@0 { |
| 27 | reg = <0x0>; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | pioA: gpio@fc038000 { |
| 32 | pinctrl { |
| 33 | pinctrl_macb0_phy_irq: macb0_phy_irq { |
| 34 | pinmux = <PIN_PB24__GPIO>; |
| 35 | bias-disable; |
| 36 | }; |
| 37 | |
| 38 | pinctrl_macb0_rmii: macb0_rmii { |
| 39 | pinmux = <PIN_PB14__GTXCK>, |
| 40 | <PIN_PB15__GTXEN>, |
| 41 | <PIN_PB16__GRXDV>, |
| 42 | <PIN_PB17__GRXER>, |
| 43 | <PIN_PB18__GRX0>, |
| 44 | <PIN_PB19__GRX1>, |
| 45 | <PIN_PB20__GTX0>, |
| 46 | <PIN_PB21__GTX1>, |
| 47 | <PIN_PB22__GMDC>, |
| 48 | <PIN_PB23__GMDIO>; |
| 49 | bias-disable; |
| 50 | }; |
| 51 | |
| 52 | }; |
| 53 | }; |
| 54 | }; |
| 55 | }; |
| 56 | }; |