// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2024 Da Xue * Author: Da Xue */ /* * Enables soft 1-wire on 40P header 7J1 pin 7 */ /dts-v1/; /plugin/; #include #include / { compatible = "libretech,aml-s805x-ac", "amlogic,s805x", "amlogic,meson-gxl"; fragment@0 { target-path = "/"; __overlay__ { onewire@0 { compatible = "w1-gpio"; gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>; status = "okay"; }; }; }; };