]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/boot/dts/r8a7778-bockw-reference.dts
Merge tag 'upstream-3.17-rc1' of git://git.infradead.org/linux-ubifs
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / r8a7778-bockw-reference.dts
CommitLineData
cfa66a81
KM
1/*
2 * Reference Device Tree Source for the Bock-W board
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6 *
7 * based on r8a7779
8 *
9 * Copyright (C) 2013 Renesas Solutions Corp.
10 * Copyright (C) 2013 Simon Horman
11 *
12 * This file is licensed under the terms of the GNU General Public License
13 * version 2. This program is licensed "as is" without any warranty of any
14 * kind, whether express or implied.
15 */
16
17/dts-v1/;
31c46cbf 18#include "r8a7778.dtsi"
77e2d7e2 19#include <dt-bindings/interrupt-controller/irq.h>
f729dd55 20#include <dt-bindings/gpio/gpio.h>
cfa66a81
KM
21
22/ {
23 model = "bockw";
24 compatible = "renesas,bockw-reference", "renesas,r8a7778";
25
5be97ca4
SH
26 aliases {
27 serial0 = &scif0;
28 };
29
cfa66a81 30 chosen {
1e918e00 31 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
cfa66a81
KM
32 };
33
34 memory {
35 device_type = "memory";
36 reg = <0x60000000 0x10000000>;
37 };
1e918e00
KM
38
39 fixedregulator3v3: fixedregulator@0 {
40 compatible = "regulator-fixed";
41 regulator-name = "fixed-3.3V";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
44 regulator-boot-on;
45 regulator-always-on;
46 };
47
73c79afa 48 ethernet@18300000 {
1e918e00
KM
49 compatible = "smsc,lan9220", "smsc,lan9115";
50 reg = <0x18300000 0x1000>;
51
52 phy-mode = "mii";
53 interrupt-parent = <&irqpin>;
08281424 54 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
1e918e00
KM
55 reg-io-width = <4>;
56 vddvario-supply = <&fixedregulator3v3>;
57 vdd33a-supply = <&fixedregulator3v3>;
58 };
14cdd83a 59
14cdd83a
KM
60};
61
62&mmcif {
63 pinctrl-0 = <&mmc_pins>;
64 pinctrl-names = "default";
65
66 vmmc-supply = <&fixedregulator3v3>;
67 bus-width = <8>;
68 broken-cd;
69 status = "okay";
1e918e00
KM
70};
71
72&irqpin {
73 status = "okay";
cfa66a81 74};
8ed1f8a5
KM
75
76&pfc {
fb9c1ce4 77 scif0_pins: serial0 {
8ed1f8a5
KM
78 renesas,groups = "scif0_data_a", "scif0_ctrl";
79 renesas,function = "scif0";
80 };
9ebe54ba
KM
81
82 mmc_pins: mmc {
83 renesas,groups = "mmc_data8", "mmc_ctrl";
84 renesas,function = "mmc";
85 };
9d0395a5 86
fb9c1ce4 87 sdhi0_pins: sd0 {
9d0395a5 88 renesas,groups = "sdhi0_data4", "sdhi0_ctrl",
f729dd55 89 "sdhi0_cd";
9d0395a5
KM
90 renesas,function = "sdhi0";
91 };
8c663966
KM
92
93 hspi0_pins: hspi0 {
94 renesas,groups = "hspi0_a";
95 renesas,function = "hspi0";
96 };
9d0395a5
KM
97};
98
99&sdhi0 {
100 pinctrl-0 = <&sdhi0_pins>;
101 pinctrl-names = "default";
102
103 vmmc-supply = <&fixedregulator3v3>;
104 bus-width = <4>;
105 status = "okay";
f729dd55 106 wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
8ed1f8a5 107};
8c663966
KM
108
109&hspi0 {
110 pinctrl-0 = <&hspi0_pins>;
111 pinctrl-names = "default";
112 status = "okay";
6d879a09
GU
113
114 flash: flash@0 {
115 #address-cells = <1>;
116 #size-cells = <1>;
117 compatible = "spansion,s25fl008k";
118 reg = <0>;
119 spi-max-frequency = <104000000>;
120 m25p,fast-read;
121
122 partition@0 {
123 label = "data(spi)";
124 reg = <0x00000000 0x00100000>;
125 };
126 };
8c663966 127};
5be97ca4
SH
128
129&scif0 {
130 pinctrl-0 = <&scif0_pins>;
131 pinctrl-names = "default";
132
133 status = "okay";
134};