Commit | Line | Data |
---|---|---|
77049191 TK |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | |
3 | * Device Tree Source for the ebisu board | |
4 | * | |
5 | * Copyright (C) 2018 Renesas Electronics Corp. | |
6 | */ | |
7 | ||
8 | /dts-v1/; | |
9 | #include "r8a77990.dtsi" | |
8441ef64 | 10 | #include <dt-bindings/gpio/gpio.h> |
77049191 TK |
11 | |
12 | / { | |
13 | model = "Renesas Ebisu board based on r8a77990"; | |
14 | compatible = "renesas,ebisu", "renesas,r8a77990"; | |
15 | ||
16 | aliases { | |
17 | serial0 = &scif2; | |
8441ef64 | 18 | ethernet0 = &avb; |
77049191 TK |
19 | }; |
20 | ||
21 | chosen { | |
22 | bootargs = "ignore_loglevel"; | |
23 | stdout-path = "serial0:115200n8"; | |
24 | }; | |
25 | ||
26 | memory@48000000 { | |
27 | device_type = "memory"; | |
28 | /* first 128MB is reserved for secure area. */ | |
29 | reg = <0x0 0x48000000 0x0 0x38000000>; | |
30 | }; | |
31 | }; | |
32 | ||
8441ef64 YS |
33 | &avb { |
34 | pinctrl-0 = <&avb_pins>; | |
35 | pinctrl-names = "default"; | |
36 | renesas,no-ether-link; | |
37 | phy-handle = <&phy0>; | |
38 | phy-mode = "rgmii-txid"; | |
39 | status = "okay"; | |
40 | ||
41 | phy0: ethernet-phy@0 { | |
42 | rxc-skew-ps = <1500>; | |
43 | reg = <0>; | |
44 | interrupt-parent = <&gpio2>; | |
45 | interrupts = <21 IRQ_TYPE_LEVEL_LOW>; | |
46 | reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; | |
47 | }; | |
48 | }; | |
49 | ||
77049191 TK |
50 | &extal_clk { |
51 | clock-frequency = <48000000>; | |
52 | }; | |
53 | ||
8441ef64 YS |
54 | &pfc { |
55 | avb_pins: avb { | |
56 | mux { | |
57 | groups = "avb_link", "avb_mii"; | |
58 | function = "avb"; | |
59 | }; | |
60 | }; | |
61 | }; | |
62 | ||
eb614d94 TK |
63 | &rwdt { |
64 | timeout-sec = <60>; | |
65 | status = "okay"; | |
66 | }; | |
67 | ||
77049191 TK |
68 | &scif2 { |
69 | status = "okay"; | |
70 | }; |