aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hdata/fsp.c2
-rw-r--r--hdata/test/op920.wsp.dts2
2 files changed, 2 insertions, 2 deletions
diff --git a/hdata/fsp.c b/hdata/fsp.c
index 2bf691f..efa3a48 100644
--- a/hdata/fsp.c
+++ b/hdata/fsp.c
@@ -269,7 +269,7 @@ static void add_uart(const struct spss_iopath *iopath, struct dt_node *lpc)
dt_add_property_cells(serial, "clock-frequency",
be32_to_cpu(iopath->lpc.uart_clk));
dt_add_property_cells(serial, "interrupts",
- be32_to_cpu(iopath->lpc.uart_int_number));
+ iopath->lpc.uart_int_number);
dt_add_property_string(serial, "device_type", "serial");
diff --git a/hdata/test/op920.wsp.dts b/hdata/test/op920.wsp.dts
index 4c61b0e..fbc5a39 100644
--- a/hdata/test/op920.wsp.dts
+++ b/hdata/test/op920.wsp.dts
@@ -3254,7 +3254,7 @@
compatible = "ns16550";
current-speed = <0x1c200>;
clock-frequency = <0x1c2000>;
- interrupts = <0x4000000>;
+ interrupts = <0x04>;
device_type = "serial";
};
};