Advertisement
71GA

Untitled

Feb 14th, 2022
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. // I2C BUS & ADDED TOUCHSCREEN
  2. &i2c1 {
  3. status = "okay";
  4. pinctrl-names = "default";
  5. pinctrl-0 = <&lcd_touch_i2c_pinmuxx>;
  6. clock-frequency = <100000>;
  7.  
  8. lcd_touch@55 {
  9. compatible = "sitronix,st1232";
  10. pinctrl-names = "default";
  11. pinctrl-0 = <&lcd_touch_rst_int_pinmuxx>;
  12. reg = <0x55>;
  13. interrupt-parent = <&gpio3>;
  14. interrupts = <19 8>;
  15. gpios = <&gpio1 28 1>;
  16. status = "okay";
  17. };
  18.  
  19. };
  20.  
  21.  
  22. // RELEVANT PIN MUXING
  23. &am33xx_pinmux {
  24.  
  25. // B:
  26. lcd_backlight_pinmuxx: lcd_backlight_pinmux {
  27. pinctrl-single,pins = <
  28. 0x94 0x0f /* P8.08 - gpmc_oen_ren.gpio2_3, pulldown(✘), out, fast */
  29. 0x48 0x0e /* P9.14 - gpmc_a2.ehrpwm1a, pulldown(✘), out, fast */
  30. >;
  31. };
  32.  
  33. // C:
  34. lcd_touch_i2c_pinmuxx: lcd_touch_i2c_pinmux {
  35. pinctrl-single,pins = <
  36. 0x15c 0x32 /* P9.17 - spi0_cs0.i2c1_scl, pullup(✔), in, fast */
  37. 0x158 0x32 /* P9.18 - spi0_d1.i2c1_sda, pullup(✔), in, fast */
  38. >;
  39. };
  40. };
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement