ARM: shmobile: lager dts: Add QSPI nodes
[deliverable/linux.git] / arch / arm / boot / dts / r8a7790-lager.dts
CommitLineData
3cc828fd
MD
1/*
2 * Device Tree Source for the Lager board
3 *
4 * Copyright (C) 2013 Renesas Solutions 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/;
31c46cbf 12#include "r8a7790.dtsi"
39fa511b 13#include <dt-bindings/gpio/gpio.h>
3cc828fd
MD
14
15/ {
16 model = "Lager";
17 compatible = "renesas,lager", "renesas,r8a7790";
18
19 chosen {
dcbbbaf2 20 bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
3cc828fd
MD
21 };
22
23 memory@40000000 {
24 device_type = "memory";
25 reg = <0 0x40000000 0 0x80000000>;
26 };
27
62bc32a2
MD
28 memory@180000000 {
29 device_type = "memory";
30 reg = <1 0x80000000 0 0x80000000>;
31 };
32
3cc828fd
MD
33 lbsc {
34 #address-cells = <1>;
35 #size-cells = <1>;
36 };
39fa511b
LP
37
38 leds {
39 compatible = "gpio-leds";
40 led6 {
41 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
42 };
43 led7 {
44 gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
45 };
46 led8 {
47 gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
48 };
49 };
50
51 fixedregulator3v3: fixedregulator@0 {
52 compatible = "regulator-fixed";
53 regulator-name = "fixed-3.3V";
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
56 regulator-boot-on;
57 regulator-always-on;
58 };
59};
60
62e43056
LP
61&extal_clk {
62 clock-frequency = <20000000>;
63};
64
39fa511b
LP
65&pfc {
66 pinctrl-0 = <&scif0_pins &scif1_pins>;
67 pinctrl-names = "default";
68
69 scif0_pins: serial0 {
70 renesas,groups = "scif0_data";
71 renesas,function = "scif0";
72 };
73
74 scif1_pins: serial1 {
75 renesas,groups = "scif1_data";
76 renesas,function = "scif1";
77 };
78
79 mmc1_pins: mmc1 {
80 renesas,groups = "mmc1_data8", "mmc1_ctrl";
81 renesas,function = "mmc1";
82 };
9fe7c4f8
GU
83
84 qspi_pins: spi {
85 renesas,groups = "qspi_ctrl", "qspi_data4";
86 renesas,function = "qspi";
87 };
39fa511b
LP
88};
89
90&mmcif1 {
91 pinctrl-0 = <&mmc1_pins>;
92 pinctrl-names = "default";
93
94 vmmc-supply = <&fixedregulator3v3>;
95 bus-width = <8>;
96 non-removable;
97 status = "okay";
3cc828fd 98};
c6181b9f
VB
99
100&sata1 {
101 status = "okay";
102};
9fe7c4f8
GU
103
104&spi {
105 pinctrl-0 = <&qspi_pins>;
106 pinctrl-names = "default";
107
108 status = "okay";
109
110 flash: flash@0 {
111 #address-cells = <1>;
112 #size-cells = <1>;
113 compatible = "spansion,s25fl512s";
114 reg = <0>;
115 spi-max-frequency = <30000000>;
116 m25p,fast-read;
117
118 partition@0 {
119 label = "loader";
120 reg = <0x00000000 0x00040000>;
121 read-only;
122 };
123 partition@40000 {
124 label = "user";
125 reg = <0x00040000 0x00400000>;
126 read-only;
127 };
128 partition@440000 {
129 label = "flash";
130 reg = <0x00440000 0x03bc0000>;
131 };
132 };
133};
This page took 0.334765 seconds and 5 git commands to generate.