aboutsummaryrefslogtreecommitdiffstats
path: root/ads1278-fs.dts
diff options
context:
space:
mode:
authorClyne <clyne@bitgloo.com>2024-11-23 10:06:58 -0500
committerClyne <clyne@bitgloo.com>2024-11-23 10:06:58 -0500
commit7e0631622917b64a72f4a7d0fb6c2c4e962d8b6b (patch)
tree54286c5d541d6cd03cb94d46f171342163a1fe59 /ads1278-fs.dts
parentd214f74deb5e8bed68c61b42a65c57fa0e17609b (diff)
Initial source upload
Diffstat (limited to 'ads1278-fs.dts')
-rw-r--r--ads1278-fs.dts43
1 files changed, 43 insertions, 0 deletions
diff --git a/ads1278-fs.dts b/ads1278-fs.dts
new file mode 100644
index 0000000..abdab95
--- /dev/null
+++ b/ads1278-fs.dts
@@ -0,0 +1,43 @@
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "brcm,bcm2835";
+
+ fragment@0 {
+ target = <&spi0>;
+ __overlay__ {
+ status = "okay";
+ };
+ };
+
+ fragment@1 {
+ target = <&spidev0>;
+ __overlay__ {
+ status = "disabled";
+ };
+ };
+
+ fragment@2 {
+ target = <&spidev1>;
+ __overlay__ {
+ status = "disabled";
+ };
+ };
+
+ fragment@3 {
+ target = <&spi0>;
+ __overlay__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ads1278: ads1278@0 {
+ compatible = "ti,ads1278-fs";
+ status = "okay";
+ reg = <0>;
+ pinctrl-names = "default";
+ };
+ };
+ };
+};
+