Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // I2C BUS & ADDED TOUCHSCREEN
- &i2c1 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&lcd_touch_i2c_pinmuxx>;
- clock-frequency = <100000>;
- lcd_touch@55 {
- compatible = "sitronix,st1232";
- pinctrl-names = "default";
- pinctrl-0 = <&lcd_touch_rst_int_pinmuxx>;
- reg = <0x55>;
- interrupt-parent = <&gpio3>;
- interrupts = <19 8>;
- gpios = <&gpio1 28 1>;
- status = "okay";
- };
- };
- // RELEVANT PIN MUXING
- &am33xx_pinmux {
- // B:
- lcd_backlight_pinmuxx: lcd_backlight_pinmux {
- pinctrl-single,pins = <
- 0x94 0x0f /* P8.08 - gpmc_oen_ren.gpio2_3, pulldown(✘), out, fast */
- 0x48 0x0e /* P9.14 - gpmc_a2.ehrpwm1a, pulldown(✘), out, fast */
- >;
- };
- // C:
- lcd_touch_i2c_pinmuxx: lcd_touch_i2c_pinmux {
- pinctrl-single,pins = <
- 0x15c 0x32 /* P9.17 - spi0_cs0.i2c1_scl, pullup(✔), in, fast */
- 0x158 0x32 /* P9.18 - spi0_d1.i2c1_sda, pullup(✔), in, fast */
- >;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement