Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / r8a7743-iwg20d-q7.dts
1 /*
2  * Device Tree Source for the iWave-RZG1M Qseven carrier board
3  *
4  * Copyright (C) 2017 Renesas Electronics Corp.
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-iwg20m.dtsi"
13
14 / {
15         model = "iWave Systems RainboW-G20D-Qseven board based on RZ/G1M";
16         compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743";
17
18         aliases {
19                 serial0 = &scif0;
20                 ethernet0 = &avb;
21         };
22 };
23
24 &pfc {
25         scif0_pins: scif0 {
26                 groups = "scif0_data_d";
27                 function = "scif0";
28         };
29
30         avb_pins: avb {
31                 groups = "avb_mdio", "avb_gmii";
32                 function = "avb";
33         };
34 };
35
36 &scif0 {
37         pinctrl-0 = <&scif0_pins>;
38         pinctrl-names = "default";
39
40         status = "okay";
41 };
42
43 &avb {
44         pinctrl-0 = <&avb_pins>;
45         pinctrl-names = "default";
46
47         phy-handle = <&phy3>;
48         phy-mode = "gmii";
49         renesas,no-ether-link;
50         status = "okay";
51
52         phy3: ethernet-phy@3 {
53                 reg = <3>;
54                 micrel,led-mode = <1>;
55         };
56 };