mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
serial: lpuart: add new compatible fsl, ls1028a-lpuart
The official ls1028a binding of the driver uses the following as compatibles: compatible = "fsl,ls1028a-lpuart"; Add the missing compatible to the driver and update the device tree. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
8c58089287
commit
c9bf9af9a7
@ -232,62 +232,56 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
lpuart0: serial@2260000 {
|
lpuart0: serial@2260000 {
|
||||||
compatible = "fsl,ls1021a-lpuart";
|
compatible = "fsl,ls1028a-lpuart";
|
||||||
reg = <0x0 0x2260000 0x0 0x1000>;
|
reg = <0x0 0x2260000 0x0 0x1000>;
|
||||||
interrupts = <0 232 0x4>;
|
interrupts = <0 232 0x4>;
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
clock-names = "ipg";
|
clock-names = "ipg";
|
||||||
little-endian;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
lpuart1: serial@2270000 {
|
lpuart1: serial@2270000 {
|
||||||
compatible = "fsl,ls1021a-lpuart";
|
compatible = "fsl,ls1028a-lpuart";
|
||||||
reg = <0x0 0x2270000 0x0 0x1000>;
|
reg = <0x0 0x2270000 0x0 0x1000>;
|
||||||
interrupts = <0 233 0x4>;
|
interrupts = <0 233 0x4>;
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
clock-names = "ipg";
|
clock-names = "ipg";
|
||||||
little-endian;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
lpuart2: serial@2280000 {
|
lpuart2: serial@2280000 {
|
||||||
compatible = "fsl,ls1021a-lpuart";
|
compatible = "fsl,ls1028a-lpuart";
|
||||||
reg = <0x0 0x2280000 0x0 0x1000>;
|
reg = <0x0 0x2280000 0x0 0x1000>;
|
||||||
interrupts = <0 234 0x4>;
|
interrupts = <0 234 0x4>;
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
clock-names = "ipg";
|
clock-names = "ipg";
|
||||||
little-endian;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
lpuart3: serial@2290000 {
|
lpuart3: serial@2290000 {
|
||||||
compatible = "fsl,ls1021a-lpuart";
|
compatible = "fsl,ls1028a-lpuart";
|
||||||
reg = <0x0 0x2290000 0x0 0x1000>;
|
reg = <0x0 0x2290000 0x0 0x1000>;
|
||||||
interrupts = <0 235 0x4>;
|
interrupts = <0 235 0x4>;
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
clock-names = "ipg";
|
clock-names = "ipg";
|
||||||
little-endian;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
lpuart4: serial@22a0000 {
|
lpuart4: serial@22a0000 {
|
||||||
compatible = "fsl,ls1021a-lpuart";
|
compatible = "fsl,ls1028a-lpuart";
|
||||||
reg = <0x0 0x22a0000 0x0 0x1000>;
|
reg = <0x0 0x22a0000 0x0 0x1000>;
|
||||||
interrupts = <0 236 0x4>;
|
interrupts = <0 236 0x4>;
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
clock-names = "ipg";
|
clock-names = "ipg";
|
||||||
little-endian;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
lpuart5: serial@22b0000 {
|
lpuart5: serial@22b0000 {
|
||||||
compatible = "fsl,ls1021a-lpuart";
|
compatible = "fsl,ls1028a-lpuart";
|
||||||
reg = <0x0 0x22b0000 0x0 0x1000>;
|
reg = <0x0 0x22b0000 0x0 0x1000>;
|
||||||
interrupts = <0 237 0x4>;
|
interrupts = <0 237 0x4>;
|
||||||
clocks = <&sysclk>;
|
clocks = <&sysclk>;
|
||||||
clock-names = "ipg";
|
clock-names = "ipg";
|
||||||
little-endian;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -553,6 +553,8 @@ static const struct dm_serial_ops lpuart_serial_ops = {
|
|||||||
static const struct udevice_id lpuart_serial_ids[] = {
|
static const struct udevice_id lpuart_serial_ids[] = {
|
||||||
{ .compatible = "fsl,ls1021a-lpuart", .data =
|
{ .compatible = "fsl,ls1021a-lpuart", .data =
|
||||||
LPUART_FLAG_REGMAP_32BIT_REG | LPUART_FLAG_REGMAP_ENDIAN_BIG },
|
LPUART_FLAG_REGMAP_32BIT_REG | LPUART_FLAG_REGMAP_ENDIAN_BIG },
|
||||||
|
{ .compatible = "fsl,ls1028a-lpuart",
|
||||||
|
.data = LPUART_FLAG_REGMAP_32BIT_REG },
|
||||||
{ .compatible = "fsl,imx7ulp-lpuart",
|
{ .compatible = "fsl,imx7ulp-lpuart",
|
||||||
.data = LPUART_FLAG_REGMAP_32BIT_REG },
|
.data = LPUART_FLAG_REGMAP_32BIT_REG },
|
||||||
{ .compatible = "fsl,vf610-lpuart"},
|
{ .compatible = "fsl,vf610-lpuart"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user