boards: arm: xmc47_relax_kit: Configure usic1ch1 as i2c node
It is the arduino_i2c node on the board. Also remove comment from arduino_r3_connector as the arduino_i2c node can be used. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
parent
d330d97997
commit
524fe7698b
@ -56,6 +56,4 @@
|
||||
|
||||
arduino_spi: &usic2ch0 {};
|
||||
arduino_serial: &usic1ch0 {};
|
||||
/* The drivers for i2c not yet implemented. Add placeholder in the */
|
||||
/* correct usic channel. */
|
||||
arduino_i2c: &usic1ch1 {};
|
||||
|
||||
@ -55,3 +55,13 @@
|
||||
drive-push-pull;
|
||||
hwctrl = "disabled";
|
||||
};
|
||||
|
||||
&i2c_controller_scl_p0_13_u1c1 {
|
||||
drive-strength = "strong-sharp-edge";
|
||||
hwctrl = "disabled";
|
||||
};
|
||||
|
||||
&i2c_controller_sda_p3_15_u1c1 {
|
||||
drive-strength = "strong-soft-edge";
|
||||
hwctrl = "disabled";
|
||||
};
|
||||
|
||||
@ -130,6 +130,20 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
&usic1ch1 {
|
||||
compatible = "infineon,xmc4xxx-i2c";
|
||||
status = "okay";
|
||||
|
||||
pinctrl-0 = <&i2c_controller_scl_p0_13_u1c1 &i2c_controller_sda_p3_15_u1c1>;
|
||||
pinctrl-names = "default";
|
||||
scl-src = "DX1B";
|
||||
sda-src = "DX0A";
|
||||
interrupts = <94 1>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
vref-internal-mv = <3300>;
|
||||
};
|
||||
|
||||
@ -4,6 +4,11 @@
|
||||
|
||||
dut: &usic1ch1 {
|
||||
compatible = "infineon,xmc4xxx-uart";
|
||||
status = "okay";
|
||||
|
||||
/delete-property/ scl-src;
|
||||
/delete-property/ sda-src;
|
||||
|
||||
current-speed = <921600>;
|
||||
interrupts = <90 1 91 1>;
|
||||
interrupt-names = "tx", "rx";
|
||||
@ -15,7 +20,6 @@ dut: &usic1ch1 {
|
||||
fifo-start-offset = <0>;
|
||||
fifo-tx-size = <0>;
|
||||
fifo-rx-size = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart_tx_p3_15_u1c1 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user