|
@@ -97,10 +97,10 @@
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
- i2c_gpio_pins: pinmux_i2c_gpio_pins {
|
|
|
|
|
|
+ i2c2_pins: pinmux_i2c2_pins {
|
|
pinctrl-single,pins = <
|
|
pinctrl-single,pins = <
|
|
- 0x150 (PIN_INPUT | MUX_MODE7) /* spi0_sclk.i2c2_sda */
|
|
|
|
- 0x154 (PIN_INPUT | MUX_MODE7) /* spi0_d0.i2c2_scl */
|
|
|
|
|
|
+ 0x150 (PIN_INPUT | MUX_MODE2) /* spi0_sclk.i2c2_sda */
|
|
|
|
+ 0x154 (PIN_INPUT | MUX_MODE2) /* spi0_d0.i2c2_scl */
|
|
>;
|
|
>;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -171,9 +171,10 @@
|
|
>;
|
|
>;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+
|
|
timer4_pins: pinmux_timer4_pins {
|
|
timer4_pins: pinmux_timer4_pins {
|
|
pinctrl-single,pins = <
|
|
pinctrl-single,pins = <
|
|
- 0x090 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* gpmc_advn_ale.timer4 */
|
|
|
|
|
|
+ 0x090 (/*PIN_OUTPUT_PULLDOWN |*/ MUX_MODE2) /* gpmc_advn_ale.timer4 */
|
|
>;
|
|
>;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -212,19 +213,51 @@
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
-/ {
|
|
|
|
-i2c@3 {
|
|
|
|
|
|
+&i2c2 {
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&i2c2_pins>;
|
|
|
|
+ status = "okay";
|
|
|
|
+ clock-frequency = <400000>;
|
|
|
|
+
|
|
|
|
+ polytouch: edt-ft5x06@38 {
|
|
|
|
+ compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
|
|
|
|
+ reg = <0x38>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&edt_ft5x06_pins>;
|
|
|
|
+ interrupt-parent = <&gpio2>;
|
|
|
|
+ interrupts = <1 8>;
|
|
|
|
+ reset-gpios = <&gpio3 21 1>;
|
|
|
|
+ max_x = <800>;
|
|
|
|
+ max_y = <480>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ maxtouch: atmel_mxt_ts@4a {
|
|
|
|
+ compatible = "atmel,maxtouch";
|
|
|
|
+ reg = <0x4a>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&edt_ft5x06_pins>;
|
|
|
|
+ interrupt-parent = <&gpio2>;
|
|
|
|
+ interrupts = <1 8>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ mcp7940x: rtc@6f {
|
|
|
|
+ compatible = "microchip,mcp7940x";
|
|
|
|
+ reg = <0x6f>;
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+/* / {
|
|
|
|
+ i2c@3 {
|
|
compatible = "i2c-gpio";
|
|
compatible = "i2c-gpio";
|
|
pinctrl-names = "default";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c_gpio_pins>;
|
|
pinctrl-0 = <&i2c_gpio_pins>;
|
|
status = "okay";
|
|
status = "okay";
|
|
|
|
|
|
- gpios = <&gpio0 2 0 /* sda */
|
|
|
|
- &gpio0 3 0 /* scl */
|
|
|
|
|
|
+ gpios = <&gpio0 2 0
|
|
|
|
+ &gpio0 3 0
|
|
>;
|
|
>;
|
|
- /*i2c-gpio,sda-open-drain;
|
|
|
|
- i2c-gpio,scl-open-drain;*/
|
|
|
|
- i2c-gpio,delay-us = <1>; /* ~200 kHz */
|
|
|
|
|
|
+ i2c-gpio,delay-us = <1>;
|
|
#address-cells = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#size-cells = <0>;
|
|
|
|
|
|
@@ -254,8 +287,8 @@ i2c@3 {
|
|
reg = <0x6f>;
|
|
reg = <0x6f>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
-
|
|
|
|
};
|
|
};
|
|
|
|
+*/
|
|
|
|
|
|
&spi1 {
|
|
&spi1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-names = "default";
|
|
@@ -316,17 +349,17 @@ i2c@3 {
|
|
};
|
|
};
|
|
|
|
|
|
display-timings {
|
|
display-timings {
|
|
- 400x1280 {
|
|
|
|
- hactive = <400>;
|
|
|
|
|
|
+ 416x1280 {
|
|
|
|
+ hactive = <416>;
|
|
vactive = <1280>;
|
|
vactive = <1280>;
|
|
- hback-porch = <30>;
|
|
|
|
|
|
+ hback-porch = <14>;
|
|
hfront-porch = <24>;
|
|
hfront-porch = <24>;
|
|
hsync-len = <2>;
|
|
hsync-len = <2>;
|
|
vback-porch = <8>;
|
|
vback-porch = <8>;
|
|
vfront-porch = <8>;
|
|
vfront-porch = <8>;
|
|
vsync-len = <2>;
|
|
vsync-len = <2>;
|
|
- clock-frequency = <33000000>;
|
|
|
|
- hsync-active = <0>;
|
|
|
|
|
|
+ clock-frequency = <40000000>;
|
|
|
|
+ hsync-active = <1>;
|
|
vsync-active = <0>;
|
|
vsync-active = <0>;
|
|
de-active = <1>;
|
|
de-active = <1>;
|
|
pixelclk-active = <0>;
|
|
pixelclk-active = <0>;
|
|
@@ -394,33 +427,47 @@ i2c@3 {
|
|
pwms = <&pwm7 0 0 0>;
|
|
pwms = <&pwm7 0 0 0>;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+
|
|
pwm4: dmtimer-pwm@4 {
|
|
pwm4: dmtimer-pwm@4 {
|
|
compatible = "ti,omap-dmtimer-pwm";
|
|
compatible = "ti,omap-dmtimer-pwm";
|
|
ti,timers = <&timer4>;
|
|
ti,timers = <&timer4>;
|
|
|
|
+ ti,clock-source = <0>;
|
|
#pwm-cells = <3>;
|
|
#pwm-cells = <3>;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+
|
|
pwm5: dmtimer-pwm@5 {
|
|
pwm5: dmtimer-pwm@5 {
|
|
compatible = "ti,omap-dmtimer-pwm";
|
|
compatible = "ti,omap-dmtimer-pwm";
|
|
ti,timers = <&timer5>;
|
|
ti,timers = <&timer5>;
|
|
|
|
+ ti,clock-source = <0>;
|
|
#pwm-cells = <3>;
|
|
#pwm-cells = <3>;
|
|
};
|
|
};
|
|
|
|
|
|
pwmleds {
|
|
pwmleds {
|
|
compatible = "pwm-leds";
|
|
compatible = "pwm-leds";
|
|
|
|
+
|
|
gfa-backlight {
|
|
gfa-backlight {
|
|
- pwms = <&pwm4 0 1000000 0>;
|
|
|
|
|
|
+ pwms = <&pwm4 0 50000 0>;
|
|
label = "backlight";
|
|
label = "backlight";
|
|
max-brightness = <255>;
|
|
max-brightness = <255>;
|
|
};
|
|
};
|
|
|
|
|
|
gfa-leds {
|
|
gfa-leds {
|
|
- pwms = <&pwm5 0 1000000 0>;
|
|
|
|
|
|
+ pwms = <&pwm5 0 50000 0>;
|
|
label = "led_brightness";
|
|
label = "led_brightness";
|
|
max-brightness = <255>;
|
|
max-brightness = <255>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ backlight {
|
|
|
|
+ compatible = "pwm-backlight";
|
|
|
|
+ pwms = <&pwm4 0 50000 0>;
|
|
|
|
+ brightness-levels = <0 58 61 66 75 90 125 170 255>;
|
|
|
|
+ default-brightness-level = <8>;
|
|
|
|
+ };
|
|
|
|
+*/
|
|
|
|
+
|
|
|
|
|
|
gfa_panel_leds {
|
|
gfa_panel_leds {
|
|
compatible = "gpio-leds";
|
|
compatible = "gpio-leds";
|
|
@@ -436,13 +483,13 @@ i2c@3 {
|
|
lcdnres {
|
|
lcdnres {
|
|
label = "LCDNRES";
|
|
label = "LCDNRES";
|
|
gpios = <&gpio1 17 0>;
|
|
gpios = <&gpio1 17 0>;
|
|
- default-state = "off";
|
|
|
|
|
|
+ default-state = "on";
|
|
};
|
|
};
|
|
|
|
|
|
- ignit {
|
|
|
|
- label = "IGNIT";
|
|
|
|
|
|
+ nres_ad {
|
|
|
|
+ label = "NRES_AD";
|
|
gpios = <&gpio1 19 0>;
|
|
gpios = <&gpio1 19 0>;
|
|
- default-state = "off";
|
|
|
|
|
|
+ default-state = "on";
|
|
};
|
|
};
|
|
|
|
|
|
led0 {
|
|
led0 {
|
|
@@ -472,7 +519,12 @@ i2c@3 {
|
|
vendorinfo {
|
|
vendorinfo {
|
|
vendor_name = "GfA Display002";
|
|
vendor_name = "GfA Display002";
|
|
display_dtb = "Display002_784_rs485.dtb";
|
|
display_dtb = "Display002_784_rs485.dtb";
|
|
- display_physical_width = "59.40"; /* in mm */
|
|
|
|
|
|
+ /*display_physical_width = "59.40";*/ /* in mm */
|
|
|
|
+ display_physical_width = "61.78"; /* in mm */
|
|
display_physical_height = "190.08"; /* in mm */
|
|
display_physical_height = "190.08"; /* in mm */
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
};
|
|
};
|