aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>2015-02-16 11:58:45 -0500
committerSimon Horman <horms+renesas@verge.net.au>2015-02-23 16:40:44 -0500
commit8c4892a633f08edbc54b6b59a673f76bd1cd7e94 (patch)
tree7fa0d1633dde897f6bd4ff11a6aade007e42c5ce /arch/arm/boot/dts
parent89d463ea106dba530786a2815fd174f9e6eab71f (diff)
ARM: shmobile: r8a7778: synchronize dts with reference platform
This moves everything to the legacy dts that is missing there to make it suitable for use with multiplatform. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/r8a7778-bockw.dts106
1 files changed, 106 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts
index 46a884d45175..73472232fa3c 100644
--- a/arch/arm/boot/dts/r8a7778-bockw.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw.dts
@@ -16,17 +16,123 @@
16 16
17/dts-v1/; 17/dts-v1/;
18#include "r8a7778.dtsi" 18#include "r8a7778.dtsi"
19#include <dt-bindings/interrupt-controller/irq.h>
20#include <dt-bindings/gpio/gpio.h>
19 21
20/ { 22/ {
21 model = "bockw"; 23 model = "bockw";
22 compatible = "renesas,bockw", "renesas,r8a7778"; 24 compatible = "renesas,bockw", "renesas,r8a7778";
23 25
26 aliases {
27 serial0 = &scif0;
28 };
29
24 chosen { 30 chosen {
25 bootargs = "console=ttySC0,115200 ignore_loglevel ip=dhcp root=/dev/nfs rw"; 31 bootargs = "console=ttySC0,115200 ignore_loglevel ip=dhcp root=/dev/nfs rw";
32 stdout-path = &scif0;
26 }; 33 };
27 34
28 memory { 35 memory {
29 device_type = "memory"; 36 device_type = "memory";
30 reg = <0x60000000 0x10000000>; 37 reg = <0x60000000 0x10000000>;
31 }; 38 };
39
40 fixedregulator3v3: fixedregulator@0 {
41 compatible = "regulator-fixed";
42 regulator-name = "fixed-3.3V";
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
45 regulator-boot-on;
46 regulator-always-on;
47 };
48
49 ethernet@18300000 {
50 compatible = "smsc,lan9220", "smsc,lan9115";
51 reg = <0x18300000 0x1000>;
52
53 phy-mode = "mii";
54 interrupt-parent = <&irqpin>;
55 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
56 reg-io-width = <4>;
57 vddvario-supply = <&fixedregulator3v3>;
58 vdd33a-supply = <&fixedregulator3v3>;
59 };
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";
70};
71
72&irqpin {
73 status = "okay";
74};
75
76&tmu0 {
77 status = "okay";
78};
79
80&pfc {
81 scif0_pins: serial0 {
82 renesas,groups = "scif0_data_a", "scif0_ctrl";
83 renesas,function = "scif0";
84 };
85
86 mmc_pins: mmc {
87 renesas,groups = "mmc_data8", "mmc_ctrl";
88 renesas,function = "mmc";
89 };
90
91 sdhi0_pins: sd0 {
92 renesas,groups = "sdhi0_data4", "sdhi0_ctrl",
93 "sdhi0_cd";
94 renesas,function = "sdhi0";
95 };
96
97 hspi0_pins: hspi0 {
98 renesas,groups = "hspi0_a";
99 renesas,function = "hspi0";
100 };
101};
102
103&sdhi0 {
104 pinctrl-0 = <&sdhi0_pins>;
105 pinctrl-names = "default";
106
107 vmmc-supply = <&fixedregulator3v3>;
108 bus-width = <4>;
109 status = "okay";
110 wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
111};
112
113&hspi0 {
114 pinctrl-0 = <&hspi0_pins>;
115 pinctrl-names = "default";
116 status = "okay";
117
118 flash: flash@0 {
119 #address-cells = <1>;
120 #size-cells = <1>;
121 compatible = "spansion,s25fl008k";
122 reg = <0>;
123 spi-max-frequency = <104000000>;
124 m25p,fast-read;
125
126 partition@0 {
127 label = "data(spi)";
128 reg = <0x00000000 0x00100000>;
129 };
130 };
131};
132
133&scif0 {
134 pinctrl-0 = <&scif0_pins>;
135 pinctrl-names = "default";
136
137 status = "okay";
32}; 138};