ODROID-COMMON:Add support Dallas 1-wire for odroid

Change-Id: I85055b83cffbfbfb0886b93d5bdc5b6152b986cb
This commit is contained in:
Kevin Kim
2019-01-08 14:47:43 +09:00
parent ca9d1a71f6
commit fb3bca12f2
2 changed files with 33 additions and 1 deletions

View File

@@ -214,6 +214,12 @@
size = <32>;
};
};//End efusekey
onewire:onewire {
compatible = "w1-gpio";
gpios = <&gpio GPIOA_13 GPIO_ACTIVE_HIGH>;
status = "disabled";
};
};
&ethmac {

View File

@@ -2592,7 +2592,33 @@ CONFIG_GPIO_PCA953X=y
#
# USB GPIO expanders
#
# CONFIG_W1 is not set
CONFIG_W1=m
CONFIG_W1_CON=y
#
# 1-wire Bus Masters
#
# CONFIG_W1_MASTER_DS2490 is not set
# CONFIG_W1_MASTER_DS2482 is not set
# CONFIG_W1_MASTER_DS1WM is not set
CONFIG_W1_MASTER_GPIO=m
#
# 1-wire Slaves
#
CONFIG_W1_SLAVE_THERM=m
# CONFIG_W1_SLAVE_SMEM is not set
# CONFIG_W1_SLAVE_DS2408 is not set
# CONFIG_W1_SLAVE_DS2413 is not set
# CONFIG_W1_SLAVE_DS2406 is not set
# CONFIG_W1_SLAVE_DS2423 is not set
# CONFIG_W1_SLAVE_DS2431 is not set
# CONFIG_W1_SLAVE_DS2433 is not set
# CONFIG_W1_SLAVE_DS2760 is not set
# CONFIG_W1_SLAVE_DS2780 is not set
# CONFIG_W1_SLAVE_DS2781 is not set
# CONFIG_W1_SLAVE_DS28E04 is not set
# CONFIG_W1_SLAVE_BQ27000 is not set
# CONFIG_POWER_AVS is not set
CONFIG_POWER_RESET=y
# CONFIG_POWER_RESET_GPIO is not set