f82f306c074d09b1ca74d8b55d75e58e2273467f
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / boot / dts / r8a7791-henninger.dts
1 /*
2  * Device Tree Source for the Henninger board
3  *
4  * Copyright (C) 2014 Renesas Solutions Corp.
5  * Copyright (C) 2014 Cogent Embedded, Inc.
6  *
7  * This file is licensed under the terms of the GNU General Public License
8  * version 2.  This program is licensed "as is" without any warranty of any
9  * kind, whether express or implied.
10  */
11
12 /dts-v1/;
13 #include "r8a7791.dtsi"
14
15 / {
16         model = "Henninger";
17         compatible = "renesas,henninger", "renesas,r8a7791";
18
19         aliases {
20                 serial0 = &scif0;
21         };
22
23         chosen {
24                 bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp";
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 &pfc {
39         scif0_pins: serial0 {
40                 renesas,groups = "scif0_data_d";
41                 renesas,function = "scif0";
42         };
43
44         ether_pins: ether {
45                 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
46                 renesas,function = "eth";
47         };
48
49         phy1_pins: phy1 {
50                 renesas,groups = "intc_irq0";
51                 renesas,function = "intc";
52         };
53 };
54
55 &scif0 {
56         pinctrl-0 = <&scif0_pins>;
57         pinctrl-names = "default";
58
59         status = "okay";
60 };
61
62 &ether {
63         pinctrl-0 = <&ether_pins &phy1_pins>;
64         pinctrl-names = "default";
65
66         phy-handle = <&phy1>;
67         renesas,ether-link-active-low;
68         status = "ok";
69
70         phy1: ethernet-phy@1 {
71                 reg = <1>;
72                 interrupt-parent = <&irqc0>;
73                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
74                 micrel,led-mode = <1>;
75         };
76 };