]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - arch/arm/boot/dts/ep7211-edb7211.dts
Merge tag 'omap-for-v5.1/dt-cpsw-phy' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / ep7211-edb7211.dts
1 /*
2 * The code contained herein is licensed under the GNU General Public
3 * License. You may obtain a copy of the GNU General Public License
4 * Version 2 or later at the following locations:
5 */
6
7 #include "ep7211.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9
10 / {
11 model = "Cirrus Logic EP7211 Development Board";
12 compatible = "cirrus,edb7211", "cirrus,ep7211", "cirrus,ep7209";
13
14 memory {
15 device_type = "memory";
16 reg = <0xc0000000 0x02000000>;
17 };
18
19 backlight: backlight {
20 compatible = "pwm-backlight";
21 pwms = <&pwm 0>;
22 brightness-levels = <
23 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7
24 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf
25 >;
26 default-brightness-level = <0x0>;
27 power-supply = <&blen>;
28 };
29
30 display: display {
31 model = "320x240x4";
32 native-mode = <&timing0>;
33 bits-per-pixel = <4>;
34 ac-prescale = <17>;
35
36 display-timings {
37 timing0: 320x240 {
38 hactive = <320>;
39 hback-porch = <0>;
40 hfront-porch = <0>;
41 hsync-len = <0>;
42 vactive = <240>;
43 vback-porch = <0>;
44 vfront-porch = <0>;
45 vsync-len = <0>;
46 clock-frequency = <6500000>;
47 };
48 };
49 };
50
51 i2c: i2c {
52 compatible = "i2c-gpio";
53 gpios = <&portd 4 GPIO_ACTIVE_HIGH>,
54 <&portd 5 GPIO_ACTIVE_HIGH>;
55 i2c-gpio,delay-us = <2>;
56 i2c-gpio,scl-output-only;
57 #address-cells = <1>;
58 #size-cells = <0>;
59 };
60
61 lcddc: lcddc {
62 compatible = "regulator-fixed";
63 regulator-name = "BACKLIGHT ENABLE";
64 regulator-min-microvolt = <3300000>;
65 regulator-max-microvolt = <3300000>;
66 gpio = <&portd 1 GPIO_ACTIVE_HIGH>;
67 };
68
69 blen: blen {
70 compatible = "regulator-fixed";
71 regulator-name = "BACKLIGHT ENABLE";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 gpio = <&portd 3 GPIO_ACTIVE_HIGH>;
75 };
76 };
77
78 &bus {
79 flash: nor@0 {
80 compatible = "cfi-flash";
81 reg = <0 0x00000000 0x02000000>;
82 bank-width = <2>;
83 #address-cells = <1>;
84 #size-cells = <1>;
85 };
86 };
87
88 &fb {
89 display = <&display>;
90 lcd-supply = <&lcddc>;
91 status = "okay";
92 };
93
94 &portd {
95 lcden {
96 gpio-hog;
97 gpios = <2 GPIO_ACTIVE_HIGH>;
98 output-high;
99 line-name = "LCD ENABLE";
100 };
101 };