1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 * Copyright (C) 2018,2019 Lubomir Rintel <lkundrak@v3.sk>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "OLPC XO-1.75";
16 compatible = "olpc,xo-1.75", "mrvl,mmp2";
23 framebuffer@1fc00000 {
24 compatible = "simple-framebuffer";
25 reg = <0x1fc00000 (1200 * 900 * 2)>;
28 stride = <(1200 * 2)>;
30 clocks = <&soc_clocks MMP2_CLK_DISP0_LCDC>,
31 <&soc_clocks MMP2_CLK_DISP0>;
36 linux,usable-memory = <0x0 0x1f800000>;
37 available = <0xcf000 0x1ef31000 0x1000 0xbf000>;
38 reg = <0x0 0x20000000>;
39 device_type = "memory";
43 compatible = "gpio-keys";
47 gpios = <&gpio 129 GPIO_ACTIVE_LOW>;
48 linux,input-type = <EV_SW>;
49 linux,code = <SW_LID>;
54 label = "E-Book Mode";
55 gpios = <&gpio 128 GPIO_ACTIVE_LOW>;
56 linux,input-type = <EV_SW>;
57 linux,code = <SW_TABLET_MODE>;
63 compatible = "i2c-gpio";
64 sda-gpios = <&gpio 109 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
65 scl-gpios = <&gpio 108 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
68 i2c-gpio,timeout-ms = <1000>;
72 compatible = "ovti,ov7670";
74 reset-gpios = <&gpio 102 GPIO_ACTIVE_LOW>;
75 powerdown-gpios = <&gpio 150 GPIO_ACTIVE_LOW>;
83 remote-endpoint = <&camera0_0>;
90 compatible = "olpc,xo1.5-battery", "olpc,xo1-battery";
93 wlan_reg: fixedregulator0 {
94 compatible = "regulator-fixed";
95 regulator-name = "wlan";
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
98 gpio = <&gpio 34 GPIO_ACTIVE_HIGH>;
102 wlan_pwrseq: pwrseq0 {
103 compatible = "mmc-pwrseq-sd8787";
104 powerdown-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>;
105 reset-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>;
109 compatible = "audio-graph-card";
112 routing = "Headphones", "HPOL",
113 "Headphones", "HPOR",
115 widgets = "Headphone", "Headphones", "Microphone", "Mic Jack";
116 hp-det-gpio = <&gpio 97 GPIO_ACTIVE_HIGH>;
117 mic-det-gpio = <&gpio 96 GPIO_ACTIVE_HIGH>;
123 #address-cells = <1>;
125 compatible = "olpc,ap-sp";
127 reg = <0xd4290000 0x1000>;
128 data-gpios = <&gpio 72 GPIO_ACTIVE_HIGH>;
129 clk-gpios = <&gpio 71 GPIO_ACTIVE_HIGH>;
157 clock-frequency = <50000000>;
159 mrvl,clk-delay-cycles = <31>;
165 clock-frequency = <50000000>;
171 keep-power-in-suspend;
172 mmc-pwrseq = <&wlan_pwrseq>;
173 vmmc-supply = <&wlan_reg>;
178 clock-frequency = <50000000>;
183 mrvl,clk-delay-cycles = <31>;
191 compatible = "realtek,alc5631";
198 clocks = <&audio_clk 0>;
199 remote-endpoint = <&sspa0_0>;
209 compatible = "dallas,ds1338";
219 compatible = "st,lis331dlh", "st,lis3lv02d";
226 #address-cells = <0>;
229 ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
232 compatible = "olpc,xo1.75-ec";
234 cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>;
242 camera0_0: endpoint {
243 remote-endpoint = <&ov7670_0>;
262 dmas = <&adma0 0>, <&adma0 1>;
263 dma-names = "tx", "rx";
267 remote-endpoint = <&rt5631_0>;