Commit | Line | Data |
---|---|---|
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 | ||
26 | chosen { | |
1e918e00 | 27 | bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw"; |
cfa66a81 KM |
28 | }; |
29 | ||
30 | memory { | |
31 | device_type = "memory"; | |
32 | reg = <0x60000000 0x10000000>; | |
33 | }; | |
1e918e00 KM |
34 | |
35 | fixedregulator3v3: fixedregulator@0 { | |
36 | compatible = "regulator-fixed"; | |
37 | regulator-name = "fixed-3.3V"; | |
38 | regulator-min-microvolt = <3300000>; | |
39 | regulator-max-microvolt = <3300000>; | |
40 | regulator-boot-on; | |
41 | regulator-always-on; | |
42 | }; | |
43 | ||
73c79afa | 44 | ethernet@18300000 { |
1e918e00 KM |
45 | compatible = "smsc,lan9220", "smsc,lan9115"; |
46 | reg = <0x18300000 0x1000>; | |
47 | ||
48 | phy-mode = "mii"; | |
49 | interrupt-parent = <&irqpin>; | |
08281424 | 50 | interrupts = <0 IRQ_TYPE_EDGE_FALLING>; |
1e918e00 KM |
51 | reg-io-width = <4>; |
52 | vddvario-supply = <&fixedregulator3v3>; | |
53 | vdd33a-supply = <&fixedregulator3v3>; | |
54 | }; | |
14cdd83a | 55 | |
14cdd83a KM |
56 | }; |
57 | ||
58 | &mmcif { | |
59 | pinctrl-0 = <&mmc_pins>; | |
60 | pinctrl-names = "default"; | |
61 | ||
62 | vmmc-supply = <&fixedregulator3v3>; | |
63 | bus-width = <8>; | |
64 | broken-cd; | |
65 | status = "okay"; | |
1e918e00 KM |
66 | }; |
67 | ||
68 | &irqpin { | |
69 | status = "okay"; | |
cfa66a81 | 70 | }; |
8ed1f8a5 KM |
71 | |
72 | &pfc { | |
73 | pinctrl-0 = <&scif0_pins>; | |
74 | pinctrl-names = "default"; | |
75 | ||
fb9c1ce4 | 76 | scif0_pins: serial0 { |
8ed1f8a5 KM |
77 | renesas,groups = "scif0_data_a", "scif0_ctrl"; |
78 | renesas,function = "scif0"; | |
79 | }; | |
9ebe54ba KM |
80 | |
81 | mmc_pins: mmc { | |
82 | renesas,groups = "mmc_data8", "mmc_ctrl"; | |
83 | renesas,function = "mmc"; | |
84 | }; | |
9d0395a5 | 85 | |
fb9c1ce4 | 86 | sdhi0_pins: sd0 { |
9d0395a5 | 87 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl", |
f729dd55 | 88 | "sdhi0_cd"; |
9d0395a5 KM |
89 | renesas,function = "sdhi0"; |
90 | }; | |
8c663966 KM |
91 | |
92 | hspi0_pins: hspi0 { | |
93 | renesas,groups = "hspi0_a"; | |
94 | renesas,function = "hspi0"; | |
95 | }; | |
9d0395a5 KM |
96 | }; |
97 | ||
98 | &sdhi0 { | |
99 | pinctrl-0 = <&sdhi0_pins>; | |
100 | pinctrl-names = "default"; | |
101 | ||
102 | vmmc-supply = <&fixedregulator3v3>; | |
103 | bus-width = <4>; | |
104 | status = "okay"; | |
f729dd55 | 105 | wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; |
8ed1f8a5 | 106 | }; |
8c663966 KM |
107 | |
108 | &hspi0 { | |
109 | pinctrl-0 = <&hspi0_pins>; | |
110 | pinctrl-names = "default"; | |
111 | status = "okay"; | |
6d879a09 GU |
112 | |
113 | flash: flash@0 { | |
114 | #address-cells = <1>; | |
115 | #size-cells = <1>; | |
116 | compatible = "spansion,s25fl008k"; | |
117 | reg = <0>; | |
118 | spi-max-frequency = <104000000>; | |
119 | m25p,fast-read; | |
120 | ||
121 | partition@0 { | |
122 | label = "data(spi)"; | |
123 | reg = <0x00000000 0x00100000>; | |
124 | }; | |
125 | }; | |
8c663966 | 126 | }; |