firmware = <&firmware>;
status = "disabled";
};
+
+ i2c_dsi: i2cdsi {
+ /* We have to use i2c-gpio because the
+ * firmware is also polling another device
+ * using the only hardware I2C bus that could
+ * connect to these pins.
+ */
+ compatible = "i2c-gpio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+
+ pitouchscreen_bridge: bridge@45 {
+ compatible = "raspberrypi,touchscreen-bridge-i2c";
+ reg = <0x45>;
+ };
+
+ pitouchscreen_touch: bridge@38 {
+ compatible = "raspberrypi,touchscreen-ts-i2c";
+ reg = <0x38>;
+ };
+ };
+
};
cam1_reg: cam1_regulator {
dmas = <&dma 6>, <&dma 7>;
dma-names = "tx", "rx";
};
+
+&dsi1 {
+ power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
+};
};
};
+ fragment@18 {
+ target = <&dsi1>;
+ __overlay__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ pitouchscreen: panel@0 {
+ compatible = "raspberrypi,touchscreen";
+ reg = <0>;
+ raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
+ };
+ };
+ };
+
+ fragment@19 {
+ target = <&i2c_dsi>;
+ __overlay__ {
+ status = "okay";
+ };
+ };
+
__overrides__ {
audio = <0>,"!13";
noaudio = <0>,"=13";