Skip to content

Commit

Permalink
dts: add support for uart1 usage on imx8ml_m7 devicetree include file
Browse files Browse the repository at this point in the history
Add support for UART1 usage by adding uart1 node and configuration
to the i.MX 8ML devicetree include.

Signed-off-by: Gabriel Freitas <gabriel.freitas@toradex.com>
  • Loading branch information
GabrielHAFs committed Oct 30, 2023
1 parent 0ffcb49 commit f627b6c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions dts/arm/nxp/nxp_imx8ml_m7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@
status = "disabled";
};

/*
* For now only UART4 is supported and
* tested with the serial driver
*/
uart4: uart@30a60000 {
compatible = "nxp,imx-iuart";
reg = <0x30a60000 0x10000>;
Expand All @@ -167,6 +163,14 @@
status = "disabled";
};

uart1: uart@30860000 {
compatible = "nxp,imx-iuart";

Check failure on line 167 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CODE_INDENT

dts/arm/nxp/nxp_imx8ml_m7.dtsi:167 code indent should use tabs where possible

Check warning on line 167 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

dts/arm/nxp/nxp_imx8ml_m7.dtsi:167 please, no spaces at the start of a line
reg = <0x30860000 0x10000>;

Check failure on line 168 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CODE_INDENT

dts/arm/nxp/nxp_imx8ml_m7.dtsi:168 code indent should use tabs where possible

Check warning on line 168 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

dts/arm/nxp/nxp_imx8ml_m7.dtsi:168 please, no spaces at the start of a line
interrupts = <26 3>;

Check failure on line 169 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CODE_INDENT

dts/arm/nxp/nxp_imx8ml_m7.dtsi:169 code indent should use tabs where possible

Check warning on line 169 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

dts/arm/nxp/nxp_imx8ml_m7.dtsi:169 please, no spaces at the start of a line
clocks = <&ccm IMX_CCM_UART1_CLK 0x7c 24>;

Check failure on line 170 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CODE_INDENT

dts/arm/nxp/nxp_imx8ml_m7.dtsi:170 code indent should use tabs where possible

Check warning on line 170 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

dts/arm/nxp/nxp_imx8ml_m7.dtsi:170 please, no spaces at the start of a line
status = "disabled";

Check failure on line 171 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CODE_INDENT

dts/arm/nxp/nxp_imx8ml_m7.dtsi:171 code indent should use tabs where possible

Check warning on line 171 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

dts/arm/nxp/nxp_imx8ml_m7.dtsi:171 please, no spaces at the start of a line
};

Check failure on line 172 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CODE_INDENT

dts/arm/nxp/nxp_imx8ml_m7.dtsi:172 code indent should use tabs where possible

Check warning on line 172 in dts/arm/nxp/nxp_imx8ml_m7.dtsi

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

dts/arm/nxp/nxp_imx8ml_m7.dtsi:172 please, no spaces at the start of a line

mailbox0: mailbox@30ab0000 {
compatible = "nxp,imx-mu";
reg = <0x30ab0000 DT_SIZE_K(64)>;
Expand Down

0 comments on commit f627b6c

Please sign in to comment.