]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: amlogic: jethub j100: enable saradc in dts
authorVyacheslav Bocharov <adeep@lexina.in>
Sun, 24 Apr 2022 08:21:58 +0000 (11:21 +0300)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 25 Apr 2022 07:25:00 +0000 (09:25 +0200)
Prepare to use ADC channel 1 to check the hardware revision of the board:
- add u-boot dts include with saradc node

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220424082159.757622-6-adeep@lexina.in
arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi
new file mode 100644 (file)
index 0000000..3ecb233
--- /dev/null
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2022 Vyacheslav Bocharov <adeep@lexina.in>
+ * Author: Vyacheslav Bocharov <adeep@lexina.in>
+ */
+
+&saradc {
+       status = "okay";
+       vref-supply = <&vddio_ao18>;
+};