/* Add alias */
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>;
+ };
+ };
+
};
vdd_5v0_reg: fixedregulator_5v0 {
regulator-always-on;
};
};
+
+&dsi1 {
+ power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
+};
};
};
-
fragment@16 {
+ 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@17 {
+ target = <&i2c_dsi>;
+ __overlay__ {
+ status = "okay";
+ };
+ };
+
+ fragment@18 {
target = <&clocks>;
__overlay__ {
claim-clocks = <