Alexey Brodkin | fb2dea6 | 2015-11-10 19:16:25 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 Synopsys, Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "skeleton.dtsi" |
| 9 | |
| 10 | / { |
| 11 | #address-cells = <1>; |
| 12 | #size-cells = <1>; |
| 13 | |
| 14 | aliases { |
| 15 | console = &uart0; |
| 16 | }; |
| 17 | |
| 18 | clocks { |
| 19 | apbclk: apbclk { |
| 20 | compatible = "fixed-clock"; |
| 21 | clock-frequency = <50000000>; |
| 22 | #clock-cells = <0>; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | uart0: serial0@e0022000 { |
| 27 | compatible = "snps,dw-apb-uart"; |
| 28 | reg = <0xe0022000 0x1000>; |
| 29 | reg-shift = <2>; |
| 30 | reg-io-width = <4>; |
| 31 | }; |
| 32 | |
| 33 | ethernet@e0018000 { |
| 34 | #interrupt-cells = <1>; |
| 35 | compatible = "altr,socfpga-stmmac"; |
| 36 | reg = < 0xe0018000 0x2000 >; |
| 37 | interrupts = < 25 >; |
| 38 | interrupt-names = "macirq"; |
| 39 | phy-mode = "gmii"; |
| 40 | snps,pbl = < 32 >; |
| 41 | clocks = <&apbclk>; |
| 42 | clock-names = "stmmaceth"; |
| 43 | max-speed = <100>; |
| 44 | }; |
| 45 | }; |