]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/boot/dts/r8a7779-marzen-reference.dts
Merge tag 'v3.16-rc6' into next
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / r8a7779-marzen-reference.dts
CommitLineData
73d6a69e
SH
1/*
2 * Reference Device Tree Source for the Marzen board
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Simon Horman
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/;
31c46cbf 13#include "r8a7779.dtsi"
80d1126f 14#include <dt-bindings/gpio/gpio.h>
77e2d7e2 15#include <dt-bindings/interrupt-controller/irq.h>
73d6a69e
SH
16
17/ {
18 model = "marzen";
19 compatible = "renesas,marzen-reference", "renesas,r8a7779";
20
21 chosen {
d2f463a6 22 bootargs = "console=ttySC2,115200 earlyprintk=sh-sci.2,115200 ignore_loglevel root=/dev/nfs ip=on rw";
73d6a69e
SH
23 };
24
25 memory {
26 device_type = "memory";
27 reg = <0x60000000 0x40000000>;
28 };
29
30 fixedregulator3v3: fixedregulator@0 {
31 compatible = "regulator-fixed";
32 regulator-name = "fixed-3.3V";
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
35 regulator-boot-on;
36 regulator-always-on;
37 };
38
39 lan0@18000000 {
40 compatible = "smsc,lan9220", "smsc,lan9115";
41 reg = <0x18000000 0x100>;
c4a003f6
LP
42 pinctrl-0 = <&lan0_pins>;
43 pinctrl-names = "default";
44
73d6a69e 45 phy-mode = "mii";
bffdd7d1 46 interrupt-parent = <&irqpin0>;
e60038ed 47 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
c9af5428 48 smsc,irq-push-pull;
73d6a69e
SH
49 reg-io-width = <4>;
50 vddvario-supply = <&fixedregulator3v3>;
51 vdd33a-supply = <&fixedregulator3v3>;
52 };
80d1126f
LP
53
54 leds {
55 compatible = "gpio-leds";
56 led2 {
57 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
58 };
59 led3 {
60 gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
61 };
62 led4 {
63 gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>;
64 };
65 };
73d6a69e 66};
c4a003f6 67
bffdd7d1
KM
68&irqpin0 {
69 status = "okay";
70};
71
c4a003f6 72&pfc {
00bf591c 73 pinctrl-0 = <&scif2_pins &scif4_pins>;
c4a003f6
LP
74 pinctrl-names = "default";
75
76 lan0_pins: lan0 {
77 intc {
78 renesas,groups = "intc_irq1_b";
79 renesas,function = "intc";
80 };
81 lbsc {
82 renesas,groups = "lbsc_ex_cs0";
83 renesas,function = "lbsc";
84 };
85 };
86
6220c519 87 scif2_pins: serial2 {
c4a003f6
LP
88 renesas,groups = "scif2_data_c";
89 renesas,function = "scif2";
90 };
91
6220c519 92 scif4_pins: serial4 {
c4a003f6
LP
93 renesas,groups = "scif4_data";
94 renesas,function = "scif4";
95 };
96
6220c519 97 sdhi0_pins: sd0 {
72e7db87 98 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
c4a003f6
LP
99 renesas,function = "sdhi0";
100 };
1fd21956
SH
101
102 hspi0_pins: hspi0 {
103 renesas,groups = "hspi0";
104 renesas,function = "hspi0";
105 };
c4a003f6 106};
00bf591c
KM
107
108&sdhi0 {
109 pinctrl-0 = <&sdhi0_pins>;
110 pinctrl-names = "default";
111
112 vmmc-supply = <&fixedregulator3v3>;
113 bus-width = <4>;
114 status = "okay";
115};
1fd21956
SH
116
117&hspi0 {
118 pinctrl-0 = <&hspi0_pins>;
119 pinctrl-names = "default";
120 status = "okay";
121};