Add device tree overlay used for Enviro Board

Change-Id: I02c01d1b675657c8b27f39f4cf1d0e173cce396c
diff --git a/coral-enviro-devicetree/README b/coral-enviro-devicetree/README
new file mode 100644
index 0000000..fc73f44
--- /dev/null
+++ b/coral-enviro-devicetree/README
@@ -0,0 +1,11 @@
+This device tree overlay is provided to enable the functionality of the Coral
+Environmental Sensor Board. It is already included on the HAT EEPROM included
+with the board.
+
+If customization of the blob is desired, dtc is used to compile the overlay:
+dtc -@ -I dts -O dtb -o coral-enviro-board-overlay.dtbo coral-enviro-board-overlay.dts
+
+It is also possible to overwrite the EEPROM. In order to do this:
+1) Short JP1 (a solder bridge) to unlock the EEPROM.
+2) Enable I2C0 access (add dtparam=i2c0=on to config.txt in the boot partiton).
+3) Rebuild and flash following instructions at https://github.com/raspberrypi/hats/tree/master/eepromutils
diff --git a/coral-enviro-devicetree/coral-enviro-board-overlay.dts b/coral-enviro-devicetree/coral-enviro-board-overlay.dts
new file mode 100644
index 0000000..4d8d91d
--- /dev/null
+++ b/coral-enviro-devicetree/coral-enviro-board-overlay.dts
@@ -0,0 +1,53 @@
+/dts-v1/;
+/plugin/;
+
+/ {
+	compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
+
+	fragment@0 {
+		target = <&i2c_arm>;
+		__overlay__ {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "okay";
+
+			opt3002@44 {
+				compatible = "ti,opt3001";
+				reg = <0x45>; /* address */
+				interrupt-parent = <&gpio>;
+				interrupts = <27 2>; /* IRQ_TYPE_EDGE_FALLING */
+				#gpio-cells = <2>;
+			};
+
+			hdc2010@40 {
+				compatible = "hdc20x0";
+				reg = <0x40>; /* address */
+			};
+
+			bmp280@76 {
+				compatible = "bmp280";
+				reg = <0x76>; /* address */
+			};
+
+			tla2021@49 {
+				compatible = "tla202x";
+				reg = <0x49>; /* address */
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				channel@0 {
+					reg = <0>;
+					ti,gain = <0>; /* +/- 6.144 V range */
+				};
+			};
+		};
+	};
+
+	fragment@1 {
+		target = <&spi0>;
+		__overlay__ {
+			status = "okay";
+		};
+	};
+};
+