提交 0c1cb8b0 编写于 作者: J Johan Jonker 提交者: Heiko Stuebner

ARM: dts: add bus to rockchip amba nodenames

A test with the command below gives for example this error:

arch/arm/boot/dts/rk3188-bqedison2qc.dt.yaml: amba: $nodename:0:
'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'

AMBA is a open standard for the connection and
management of functional blocks in a SoC.
It's compatible with 'simple-bus', so fix this error
by adding 'bus' to all Rockchip 'amba' nodes.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/
schemas/simple-bus.yaml
Signed-off-by: NJohan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200302153047.17101-1-jbx6244@gmail.comSigned-off-by: NHeiko Stuebner <heiko@sntech.de>
上级 79f23601
......@@ -54,7 +54,7 @@
};
};
amba {
amba: bus {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
......
......@@ -95,7 +95,7 @@
};
};
amba {
amba: bus {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
......
......@@ -155,7 +155,7 @@
};
};
amba {
amba: bus {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
......
......@@ -32,7 +32,7 @@
spi1 = &spi1;
};
amba {
amba: bus {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
......
......@@ -85,7 +85,7 @@
#clock-cells = <0>;
};
amba {
amba: bus {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册