AnsweredAssumed Answered

Configure 4 UARTs on two sc16is752 for mx6ull

Question asked by Nichol Draper on Feb 1, 2019
Latest reply on Mar 2, 2019 by Nichol Draper

We have a custom board with the mx6ull based on the evk.  We have removed the second Ethernet port and we are using SPI4.  We have two sc16is752 chips with two UARTs on each.  We should have seven total UARTs on the board.  I've made the following addition to the imx6ull-14x14-evk.dts file but I am not seeing the SPI devices.  I am also not sure how to indicate that these contain 4 more UARTs.

 

&ecspi4 {         pinctrl-names = "default";         pinctrl-0 = <&pinctrl_ecspi4>;         num-chipselects = <2>;         status = "okay";         sc16is752: sc16is752@0 {                 compatible = "nxp,sc16is752";                 reg = <0>;                 clocks = <&sc16is752_clk>;                 interrupt-parent = <&gpio5>;                 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;                 gpio-controller;                 #gpio-cells = <2>;                  sc16is752_clk: sc16is752_clk {                         compatible = "fixed-clock";                         #clock-cells = <0>;                         clock-frequency = <14745600>;                 };         };         sc16is752: sc16is752@0 {                 compatible = "nxp,sc16is752";                 reg = <1>;                 clocks = <&sc16is752_clk>;                 interrupt-parent = <&gpio5>;                 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;                 gpio-controller;                 #gpio-cells = <2>;         }; };  

Outcomes