提交 34129bb8 编写于 作者: D Dilip Kota 提交者: Rob Herring

dt-bindings: PCI: intel: Fix dt_binding_check compilation failure

Remove <dt-bindings/clock/intel,lgm-clk.h> dependency as
it is not present in the mainline tree. Use numeric value
instead of LGM_GCLK_PCIE10 macro.
Signed-off-by: NDilip Kota <eswara.kota@linux.intel.com>
[robh: Also drop interrupt-parent from example]
Signed-off-by: NRob Herring <robh@kernel.org>
上级 4ae87b17
...@@ -107,7 +107,6 @@ additionalProperties: false ...@@ -107,7 +107,6 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/intel,lgm-clk.h>
pcie10: pcie@d0e00000 { pcie10: pcie@d0e00000 {
compatible = "intel,lgm-pcie", "snps,dw-pcie"; compatible = "intel,lgm-pcie", "snps,dw-pcie";
device_type = "pci"; device_type = "pci";
...@@ -120,7 +119,6 @@ examples: ...@@ -120,7 +119,6 @@ examples:
linux,pci-domain = <0>; linux,pci-domain = <0>;
max-link-speed = <4>; max-link-speed = <4>;
bus-range = <0x00 0x08>; bus-range = <0x00 0x08>;
interrupt-parent = <&ioapic1>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>; interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &ioapic1 27 1>, interrupt-map = <0 0 0 1 &ioapic1 27 1>,
...@@ -129,7 +127,7 @@ examples: ...@@ -129,7 +127,7 @@ examples:
<0 0 0 4 &ioapic1 30 1>; <0 0 0 4 &ioapic1 30 1>;
ranges = <0x02000000 0 0xd4000000 0xd4000000 0 0x04000000>; ranges = <0x02000000 0 0xd4000000 0xd4000000 0 0x04000000>;
resets = <&rcu0 0x50 0>; resets = <&rcu0 0x50 0>;
clocks = <&cgu0 LGM_GCLK_PCIE10>; clocks = <&cgu0 120>;
phys = <&cb0phy0>; phys = <&cb0phy0>;
phy-names = "pcie"; phy-names = "pcie";
reset-assert-ms = <500>; reset-assert-ms = <500>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册