aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/pxa1908-dkb.dtsi
blob: 1f80fae57682a0867b937d06bf76f9f65563ed2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/*
 *  Copyright (C) 2014 Marvell Technology Group Ltd.
 *  Author: Dongjiu Geng <djgeng@marvell.com>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2 as
 *  publishhed by the Free Software Foundation.
 */

/memreserve/ 0x08100000 0x00040000;     /* ramoops buffer (256KB) */
/memreserve/ 0x09000000 0x01000000;	/* GPU Reserved mem (16MB) */
/memreserve/ 0x17000000 0x01800000;     /* Frame buffer (24MB) */
/memreserve/ 0x0a000000 0x00080000;     /* CM3 shared buffer(512KB) */
#include "pxa1908-board-common.dtsi"

/ {
	model = "Marvell PXA1908 DKB Development Board";

	soc {
		axi@d4200000 {  /* AXI */
			usbphy: usbphy@d4207000 {
				status = "okay";
			};

			udc: udc@d4208100 {
				status = "okay";
			};

			ehci: ehci@d4208100 {
				status = "okay";
			};

			otg: otg@d4208100 {
				status = "okay";
			};
		};

		apb@d4000000 {
			keypad: keypad@d4012000 {
				marvell,direct-keys;
				marvell,direct-key-low-active;
				marvell,keypad-lpm-mod;
				marvell,direct-key-count = <2>;
				marvell,direct-key-mask = <0xff>;
				marvell,direct-key-map = < 0x73
							   0x72>;
				marvell,debounce-interval = <30>;
				pinctrl-names = "default";
				pinctrl-0 = <&keypad_in_func>;
				status = "disable";
			};

			keyreset {
				compatible = "marvell,keyreset";
				keys-down = <0x73 0x72>;
				keyreset-need-panic;
				status = "okay";
			};

			twsi1: i2c@d4010800 {
				touch1: s3202@720p {
					status = "okay";
				};
				touch2: msg2133@26 {
					status = "okay";
				};
				touch3: 88ms100@720p {
					status = "okay";
				};
			};

			twsi2: i2c@d4037000 {

				pmic0: 88pm886@30 {
					status = "okay";
				};
				pmic2: 88pm860@38 {
					status = "okay";
				};
			};

			twsi3: i2c@d4013800 {
				sensor1: apds9930@39 {
					status = "disable";
				};
				sensor2: bmi160@68 {
					status = "disable";
				};
				sensor3: bme280@76 {
					status = "disable";
				};
				sensor4: icm20628@69 {
					status = "disable";
				};
				sensor5: mxc400x@15 {
					status = "disable";
				};
				sensor6: mmc3524x@30 {
					status = "disable";
				};
			};
		};
	};

	sd8x-rfkill {
		sd-host = <&sdh1>;
		pd-gpio = <&gpio 7 0>;
		wib_3v3-supply = <&ldo15>;
		wib_1v8-supply = <&buck2>;
		edge-wakeup-gpio = <&gpio 39 0>;
		status = "okay";
	};

	vibrator {
		compatible = "marvell,pwm-vibrator";
		pwms = <&pwm4 0 1000>;
		min_timeout = <0>;
		duty_cycle = <800>;
		vibrator-supply = <&ldo9>;
	};

	panel1: hx8394 {
		compatible = "marvell,mmp-hx8394";
		marvell,path-name = "mmp_pnpath";
		panel_esd = <0>;
		rst_gpio = <&gpio 4 0>;
		avdd-supply = <&ldo11>;
		status = "okay";
	};

	panel2: otm8018b {
		compatible = "marvell,mmp-otm8018b";
		marvell,path-name = "mmp_pnpath";
		panel_esd = <0>;
		rst_gpio = <&gpio 4 0>;
		avdd-supply = <&ldo11>;
		status = "okay";
	};

	panel3: otm1283a {
		compatible = "marvell,mmp-otm1283a";
		marvell,path-name = "mmp_pnpath";
		panel_esd = <0>;
		rst_gpio = <&gpio 4 0>;
		avdd-supply = <&ldo11>;
		status = "okay";
	};

        leds {
		compatible = "gpio-leds";

		led@1 {
			label = "usr0";
			gpios = <&gpio 5 0>;
			default-state = "off";
		};

		led@2 {
			label = "usr1";
			gpios = <&gpio 6 0>;
			default-state = "off";
		};

		led@3 {
			label = "usr2";
			gpios = <&gpio 8 0>;
			default-state = "off";
		};

		led@4 {
			label = "usr3";
			gpios = <&gpio 15 0>;
			default-state = "off";
		};
	};
};
#include "88pm88x.dtsi"
#include "88pm886.dtsi"
#include "88pm88x_battery_common.dtsi"
#include "88pm88x_battery_485760ar.dtsi"
#include "88pm886_pxa1908_dkb.dtsi"