arm64: dts: exynos: gs101: enable eeprom on gs101-oriole

Enable the eeprom found on the battery connector.

The selection of the USI protocol is done in the board dts file because
the USI CONFIG register comes with a 0x0 reset value, meaning that USI8
does not have a default protocol (I2C, SPI, UART) at reset.

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240119111132.1290455-9-tudor.ambarus@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
Tudor Ambarus 2024-01-19 11:11:32 +00:00 committed by Krzysztof Kozlowski
parent 6d44d1a1fb
commit f655376913

View File

@ -63,6 +63,15 @@ &ext_200m {
clock-frequency = <200000000>;
};
&hsi2c_8 {
status = "okay";
eeprom: eeprom@50 {
compatible = "atmel,24c08";
reg = <0x50>;
};
};
&pinctrl_far_alive {
key_voldown: key-voldown-pins {
samsung,pins = "gpa7-3";
@ -99,6 +108,11 @@ &usi_uart {
status = "okay";
};
&usi8 {
samsung,mode = <USI_V2_I2C>;
status = "okay";
};
&watchdog_cl0 {
timeout-sec = <30>;
status = "okay";