Message ID | 20200308163230.4002-12-afaerber@suse.de |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts b/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts index 3c25b6e79fe2..455416ce9d82 100644 --- a/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts +++ b/arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts @@ -15,8 +15,15 @@ chosen { stdout-path = "serial0:115200n8"; }; + + uart0_clk: clk { + compatible = "fixed-clock"; + clock-frequency = <27000000>; + #clock-cells = <0>; + }; }; &uart0 { status = "okay"; + clocks = <&uart0_clk>; }; diff --git a/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi b/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi index 7e424baa9214..48c5986a31ed 100644 --- a/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi +++ b/arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi @@ -86,3 +86,8 @@ #interrupt-cells = <2>; }; }; + +&uart0 { + interrupt-parent = <&intc>; + interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; +};
Signed-off-by: Andreas Färber <afaerber@suse.de> --- arch/arm/boot/dts/pentagram-sp7021-bpi-f2s.dts | 7 +++++++ arch/arm/boot/dts/pentagram-sp7021-cpu.dtsi | 5 +++++ 2 files changed, 12 insertions(+)