boards: cc1352r1_launchxl: enable support for I2C
Enable I2C support on the CC1352R LaunchPad. Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
This commit is contained in:
parent
a828b2a503
commit
4817f41399
3 changed files with 9 additions and 0 deletions
|
@ -67,3 +67,9 @@
|
||||||
tx-pin = <13>;
|
tx-pin = <13>;
|
||||||
rx-pin = <12>;
|
rx-pin = <12>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&i2c0 {
|
||||||
|
status = "ok";
|
||||||
|
scl-pin = <4>;
|
||||||
|
sda-pin = <5>;
|
||||||
|
};
|
||||||
|
|
|
@ -10,3 +10,4 @@ toolchain:
|
||||||
- xtools
|
- xtools
|
||||||
supported:
|
supported:
|
||||||
- gpio
|
- gpio
|
||||||
|
- i2c
|
||||||
|
|
|
@ -48,6 +48,8 @@ features:
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
| UART | on-chip | serial |
|
| UART | on-chip | serial |
|
||||||
+-----------+------------+----------------------+
|
+-----------+------------+----------------------+
|
||||||
|
| I2C | on-chip | i2c |
|
||||||
|
+-----------+------------+----------------------+
|
||||||
|
|
||||||
Other hardware features are not supported by the Zephyr kernel.
|
Other hardware features are not supported by the Zephyr kernel.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue