mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 18:10:32 +00:00

Checkpatch complains about the SPDX-License-Identifier being in the wrong place. Move it to the top of the file to fix these warnings. In cases of the license being specified only in text, convert these to the SPDX-License-Identifier. Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> Link: https://lore.kernel.org/r/4d41caabb6af5741d92bd5567a04c93a18e2ebe2.1722842067.git.stano.jakubek@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
|
|
/*
|
|
* Spreadtrum Sharkl64 platform DTS file
|
|
*
|
|
* Copyright (C) 2014, Spreadtrum Communications Inc.
|
|
*/
|
|
|
|
/ {
|
|
interrupt-parent = <&gic>;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
soc {
|
|
compatible = "simple-bus";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
ap-apb {
|
|
compatible = "simple-bus";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
uart0: serial@70000000 {
|
|
compatible = "sprd,sc9836-uart";
|
|
reg = <0 0x70000000 0 0x100>;
|
|
interrupts = <0 2 0xf04>;
|
|
clocks = <&clk26mhz>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart1: serial@70100000 {
|
|
compatible = "sprd,sc9836-uart";
|
|
reg = <0 0x70100000 0 0x100>;
|
|
interrupts = <0 3 0xf04>;
|
|
clocks = <&clk26mhz>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart2: serial@70200000 {
|
|
compatible = "sprd,sc9836-uart";
|
|
reg = <0 0x70200000 0 0x100>;
|
|
interrupts = <0 4 0xf04>;
|
|
clocks = <&clk26mhz>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart3: serial@70300000 {
|
|
compatible = "sprd,sc9836-uart";
|
|
reg = <0 0x70300000 0 0x100>;
|
|
interrupts = <0 5 0xf04>;
|
|
clocks = <&clk26mhz>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
|
|
clk26mhz: clk26mhz {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <26000000>;
|
|
};
|
|
};
|