radio-panel.dts 913 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Device tree overlay for the radio front panel LCD on an Allwinner board.
  3. *
  4. * Plain numbers instead of #include, so it also works with armbian-add-overlay.
  5. *
  6. * TO CHECK against the actual board before use: root compatible, and the
  7. * i2c bus in fragment@0 (i2c0).
  8. *
  9. * U1 (0x74) is left to the s1d13700-tca driver and must not bind to pca953x;
  10. * it also drives the backlight (P1.0), which the driver registers as
  11. * radio-backlight.
  12. * For the i2c-dev frontend, do not load this overlay.
  13. *
  14. * The keys (U2, 0x76, and gpio-keys) are in the radio-keyboard-tca
  15. * repository, dts/radio-keys.dts.
  16. */
  17. /dts-v1/;
  18. /plugin/;
  19. / {
  20. compatible = "allwinner,sun8i-h3";
  21. fragment@0 {
  22. target = <&i2c0>;
  23. __overlay__ {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. clock-frequency = <400000>;
  27. status = "okay";
  28. panel@74 {
  29. compatible = "k4be,s1d13700-tca9539";
  30. reg = <0x74>;
  31. };
  32. };
  33. };
  34. };