File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 65
65
clock-frequency = <33333333>;
66
66
};
67
67
68
+ reg_5v0: regulator-5v0 {
69
+ compatible = "regulator-fixed";
70
+
71
+ regulator-name = "5v0-supply";
72
+ regulator-min-microvolt = <5000000>;
73
+ regulator-max-microvolt = <5000000>;
74
+ };
75
+
68
76
cpu_intc: cpu-interrupt-controller {
69
77
compatible = "snps,archs-intc";
70
78
interrupt-controller;
272
280
#size-cells = <1>;
273
281
spi-max-frequency = <4000000>;
274
282
};
283
+
284
+ adc@1 {
285
+ compatible = "ti,adc108s102";
286
+ reg = <1>;
287
+ vref-supply = <®_5v0>;
288
+ spi-max-frequency = <1000000>;
289
+ };
275
290
};
276
291
277
292
creg_gpio: gpio@14b0 {
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ CONFIG_GPIO_SYSFS=y
57
57
CONFIG_GPIO_DWAPB=y
58
58
CONFIG_GPIO_SNPS_CREG=y
59
59
# CONFIG_HWMON is not set
60
+ CONFIG_REGULATOR=y
61
+ CONFIG_REGULATOR_FIXED_VOLTAGE=y
60
62
CONFIG_DRM=y
61
63
# CONFIG_DRM_FBDEV_EMULATION is not set
62
64
CONFIG_DRM_UDL=y
@@ -74,6 +76,8 @@ CONFIG_MMC_SDHCI_PLTFM=y
74
76
CONFIG_MMC_DW=y
75
77
CONFIG_DMADEVICES=y
76
78
CONFIG_DW_AXI_DMAC=y
79
+ CONFIG_IIO=y
80
+ CONFIG_TI_ADC108S102=y
77
81
CONFIG_EXT3_FS=y
78
82
CONFIG_VFAT_FS=y
79
83
CONFIG_TMPFS=y
You can’t perform that action at this time.
0 commit comments