I'm trying to upgrade from Armbian 5.32 (Xenial Next/4.4.76) and was hoping to enable 1 wire again on my Udoo. For that build, I had to add one wire modules to the kernel config, then edit the imx6qdl-udoo.dtsi to set the onewire status to okay (from disabled).
In the dtsi, after udoo_ard: udoo_ard_manager it had:
onewire@0 { /* example for pin 08 */
compatible = "w1-gpio";
pinctrl-names = "default";
pinctrl-0 = <&w1_gpio_pins>;
status = "disabled"; /* "okay" to enable */
gpios = <&gpio1 21 0>;
};
and in iomuxc, there was a section (in external_hog: hoggrp-2, MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 // pin 08):
w1_gpio_pins: w1-gpio@0 {
fsl,pins = <
MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 /* example for pin 08 */
>;
};
I tried adding the following to /boot/armbianEnv.txt
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
chiefwigms
I'm trying to upgrade from Armbian 5.32 (Xenial Next/4.4.76) and was hoping to enable 1 wire again on my Udoo. For that build, I had to add one wire modules to the kernel config, then edit the imx6qdl-udoo.dtsi to set the onewire status to okay (from disabled).
In the dtsi, after udoo_ard: udoo_ard_manager it had:
onewire@0 { /* example for pin 08 */ compatible = "w1-gpio"; pinctrl-names = "default"; pinctrl-0 = <&w1_gpio_pins>; status = "disabled"; /* "okay" to enable */ gpios = <&gpio1 21 0>; };
and in iomuxc, there was a section (in external_hog: hoggrp-2, MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 // pin 08):
w1_gpio_pins: w1-gpio@0 { fsl,pins = < MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 /* example for pin 08 */ >; };
I tried adding the following to /boot/armbianEnv.txt
overlays=w1-gpio param_w1_pin=21 param_w1_pin_int_pullup=0
with no luck. Do I need to modify the dtsi and rebuild, or is there an overlay that will add one wire? (the current dtsi has no entries for one wire)
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.