Since this was converted to the setup/handle/process idiom in master the conversion is straightforward. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
15 lines
247 B
Plaintext
15 lines
247 B
Plaintext
/*
|
|
* Copyright (c) 2019, Linaro Ltd.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&i2c0 {
|
|
mcp9808@18 {
|
|
compatible = "microchip,mcp9808";
|
|
reg = <0x18>;
|
|
int-gpios = <&gpioc 16 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
label = "MCP9808";
|
|
};
|
|
};
|