Signed-off-by: yan <yan-wyb@foxmail.com>
key-permit = "read","write","del";
};
};//End unifykey
+
+ onewire:onewire {
+ compatible = "w1-gpio";
+ gpios = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>;
+ status = "disable";
+ };
};
&pinctrl_periphs{
status = "okay";
};
+ onewire:onewire {
+ compatible = "w1-gpio";
+ gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
+ status = "disable";
+ };
+
sensor: sensor {
compatible = "soc, sensor";
status = "okay";
key-permit = "read","write","del";
};
};//End unifykey
+
+ onewire:onewire {
+ compatible = "w1-gpio";
+ gpios = <&gpio_ao GPIOAO_1 GPIO_ACTIVE_HIGH>;
+ status = "disable";
+ };
+
};
&pinctrl_periphs{
CONFIG_SPI_SPIDEV=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIO_PCA953X=y
+CONFIG_W1=y
+CONFIG_W1_MASTER_GPIO=y
+CONFIG_W1_SLAVE_THERM=y
CONFIG_THERMAL=y
CONFIG_THERMAL_WRITABLE_TRIPS=y
CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR=y