]>
Commit | Line | Data |
---|---|---|
22e69c4b SS |
1 | /* |
2 | * Device Tree Source for the SK-RZG1M board | |
3 | * | |
403812e4 | 4 | * Copyright (C) 2016-2017 Cogent Embedded, Inc. |
22e69c4b SS |
5 | * |
6 | * This file is licensed under the terms of the GNU General Public License | |
7 | * version 2. This program is licensed "as is" without any warranty of any | |
8 | * kind, whether express or implied. | |
9 | */ | |
10 | ||
11 | /dts-v1/; | |
12 | #include "r8a7743.dtsi" | |
13 | ||
14 | / { | |
15 | model = "SK-RZG1M"; | |
16 | compatible = "renesas,sk-rzg1m", "renesas,r8a7743"; | |
17 | ||
18 | aliases { | |
19 | serial0 = &scif0; | |
20 | }; | |
21 | ||
22 | chosen { | |
d05ab65b | 23 | bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
22e69c4b SS |
24 | stdout-path = "serial0:115200n8"; |
25 | }; | |
26 | ||
27 | memory@40000000 { | |
28 | device_type = "memory"; | |
29 | reg = <0 0x40000000 0 0x40000000>; | |
30 | }; | |
31 | ||
32 | memory@200000000 { | |
33 | device_type = "memory"; | |
34 | reg = <2 0x00000000 0 0x40000000>; | |
35 | }; | |
36 | }; | |
37 | ||
38 | &extal_clk { | |
39 | clock-frequency = <20000000>; | |
40 | }; | |
41 | ||
403812e4 SS |
42 | &pfc { |
43 | scif0_pins: scif0 { | |
44 | groups = "scif0_data_d"; | |
45 | function = "scif0"; | |
46 | }; | |
51982d8f SS |
47 | |
48 | ether_pins: ether { | |
49 | groups = "eth_link", "eth_mdio", "eth_rmii"; | |
50 | function = "eth"; | |
51 | }; | |
52 | ||
53 | phy1_pins: phy1 { | |
54 | groups = "intc_irq0"; | |
55 | function = "intc"; | |
56 | }; | |
403812e4 SS |
57 | }; |
58 | ||
22e69c4b | 59 | &scif0 { |
403812e4 SS |
60 | pinctrl-0 = <&scif0_pins>; |
61 | pinctrl-names = "default"; | |
62 | ||
22e69c4b SS |
63 | status = "okay"; |
64 | }; | |
d05ab65b SS |
65 | |
66 | ðer { | |
51982d8f SS |
67 | pinctrl-0 = <ðer_pins &phy1_pins>; |
68 | pinctrl-names = "default"; | |
69 | ||
d05ab65b SS |
70 | phy-handle = <&phy1>; |
71 | renesas,ether-link-active-low; | |
72 | status = "okay"; | |
73 | ||
74 | phy1: ethernet-phy@1 { | |
75 | reg = <1>; | |
76 | interrupt-parent = <&irqc>; | |
77 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | |
78 | micrel,led-mode = <1>; | |
79 | }; | |
80 | }; |