From: Naresh Bhat naresh.bhat@linaro.org
The following bus/device bindings are moved to DSDT. It would be better to remove those permanently from the foundation-v8-acpi.dts file.
1. aliases of serial0 2. pmu 3. smb 4. ethernet 5. fixed-clock 6. iofpga 7. vexpress-sysreg 8. uart 9. virtio_block
After deletion of bus/devices from FDT, the enumeration looks perfectly fine on v8 model. The logs are as below
root@genericarmv8:/sys# find . -name LINA* ./bus/acpi/devices/LINA0003:00 ./bus/acpi/devices/LINA0005:00 ./bus/acpi/devices/LINA0007:00 ./bus/acpi/devices/LINA0008:00 ./bus/acpi/devices/LINA0008:01 ./bus/acpi/devices/LINA0008:02 ./bus/acpi/devices/LINA0009:00 ./bus/acpi/devices/LINA000A:00 ./bus/acpi/devices/LINA000A:01 ./bus/acpi/devices/LINA000A:02 ./bus/acpi/devices/LINA000A:03 ./bus/amba/devices/LINA000A:00 ./bus/amba/devices/LINA000A:01 ./bus/amba/devices/LINA000A:02 ./bus/amba/devices/LINA000A:03 ./bus/amba/drivers/uart-pl011/LINA000A:00 ./bus/amba/drivers/uart-pl011/LINA000A:01 ./bus/amba/drivers/uart-pl011/LINA000A:02 ./bus/amba/drivers/uart-pl011/LINA000A:03 ./bus/platform/devices/LINA0003:00 ./bus/platform/devices/LINA0005:00 ./bus/platform/devices/LINA0007:00 ./bus/platform/devices/LINA0008:00 ./bus/platform/devices/LINA0008:01 ./bus/platform/devices/LINA0008:02 ./bus/platform/devices/LINA0009:00 ./bus/platform/drivers/vexpress-sysreg/LINA0009:00 ./bus/platform/drivers/smc91x/LINA0003:00 ./bus/platform/drivers/fixed-clk/LINA0008:00 ./bus/platform/drivers/fixed-clk/LINA0008:01 ./bus/platform/drivers/fixed-clk/LINA0008:02 ./bus/platform/drivers/arm-pmu/LINA0007:00 ./bus/platform/drivers/virtio-mmio/LINA0005:00 ./devices/platform/LINA0003:00 ./devices/platform/LINA0005:00 ./devices/platform/LINA0007:00 ./devices/platform/LINA0008:00 ./devices/platform/LINA0008:01 ./devices/platform/LINA0008:02 ./devices/platform/LINA0009:00 ./devices/platform/LINA000A:00 ./devices/platform/LINA000A:01 ./devices/platform/LINA000A:02 ./devices/platform/LINA000A:03 ./devices/LNXSYSTM:00/device:00/LINA0007:00 ./devices/LNXSYSTM:00/device:00/AMBA0000:00/LINA000A:00 ./devices/LNXSYSTM:00/device:00/AMBA0000:00/LINA000A:01 ./devices/LNXSYSTM:00/device:00/AMBA0000:00/LINA000A:02 ./devices/LNXSYSTM:00/device:00/AMBA0000:00/LINA000A:03 ./devices/LNXSYSTM:00/device:00/ACPI0004:01/LINA0003:00 ./devices/LNXSYSTM:00/device:00/ACPI0004:01/LINA0008:00 ./devices/LNXSYSTM:00/device:00/ACPI0004:01/LINA0008:01 ./devices/LNXSYSTM:00/device:00/ACPI0004:01/LINA0008:02 ./devices/LNXSYSTM:00/device:00/ACPI0004:01/ACPI0004:02/LINA0005:00 ./devices/LNXSYSTM:00/device:00/ACPI0004:01/ACPI0004:02/LINA0009:00 root@genericarmv8:/sys#
Naresh Bhat (1): arm64: dts: delete bus, devices binding
arch/arm64/boot/dts/foundation-v8-acpi.dts | 166 ---------------------------- 1 file changed, 166 deletions(-)
From: Naresh Bhat naresh.bhat@linaro.org
The following bus/device binding has now been moved to DSDT, delete from FDT.
1. aliases of serial0 2. pmu 3. smb 4. ethernet 5. fixed-clock 6. iofpga 7. vexpress-sysreg 8. uart 9. virtio_block
Signed-off-by: Naresh Bhat naresh.bhat@linaro.org --- arch/arm64/boot/dts/foundation-v8-acpi.dts | 166 ---------------------------- 1 file changed, 166 deletions(-)
diff --git a/arch/arm64/boot/dts/foundation-v8-acpi.dts b/arch/arm64/boot/dts/foundation-v8-acpi.dts index d6ce908..402e754 100644 --- a/arch/arm64/boot/dts/foundation-v8-acpi.dts +++ b/arch/arm64/boot/dts/foundation-v8-acpi.dts @@ -15,17 +15,6 @@
chosen { };
- /* - * Removed for ACPI - * - aliases { - serial0 = &v2m_serial0; - serial1 = &v2m_serial1; - serial2 = &v2m_serial2; - serial3 = &v2m_serial3; - }; - */ - cpus { #address-cells = <2>; #size-cells = <0>; @@ -87,159 +76,4 @@ clock-frequency = <100000000>; };
- /* - * Removed for ACPI - * - pmu { - compatible = "arm,armv8-pmuv3"; - interrupts = <0 60 4>, - <0 61 4>, - <0 62 4>, - <0 63 4>; - }; - */ - - smb { - compatible = "arm,vexpress,v2m-p1", "simple-bus"; - arm,v2m-memory-map = "rs1"; - #address-cells = <2>; /* SMB chipselect number and offset */ - #size-cells = <1>; - - ranges = <0 0 0 0x08000000 0x04000000>, - <1 0 0 0x14000000 0x04000000>, - <2 0 0 0x18000000 0x04000000>, - <3 0 0 0x1c000000 0x04000000>, - <4 0 0 0x0c000000 0x04000000>, - <5 0 0 0x10000000 0x04000000>; - - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 63>; - interrupt-map = <0 0 0 &gic 0 0 4>, - <0 0 1 &gic 0 1 4>, - <0 0 2 &gic 0 2 4>, - <0 0 3 &gic 0 3 4>, - <0 0 4 &gic 0 4 4>, - <0 0 5 &gic 0 5 4>, - <0 0 6 &gic 0 6 4>, - <0 0 7 &gic 0 7 4>, - <0 0 8 &gic 0 8 4>, - <0 0 9 &gic 0 9 4>, - <0 0 10 &gic 0 10 4>, - <0 0 11 &gic 0 11 4>, - <0 0 12 &gic 0 12 4>, - <0 0 13 &gic 0 13 4>, - <0 0 14 &gic 0 14 4>, - <0 0 15 &gic 0 15 4>, - <0 0 16 &gic 0 16 4>, - <0 0 17 &gic 0 17 4>, - <0 0 18 &gic 0 18 4>, - <0 0 19 &gic 0 19 4>, - <0 0 20 &gic 0 20 4>, - <0 0 21 &gic 0 21 4>, - <0 0 22 &gic 0 22 4>, - <0 0 23 &gic 0 23 4>, - <0 0 24 &gic 0 24 4>, - <0 0 25 &gic 0 25 4>, - <0 0 26 &gic 0 26 4>, - <0 0 27 &gic 0 27 4>, - <0 0 28 &gic 0 28 4>, - <0 0 29 &gic 0 29 4>, - <0 0 30 &gic 0 30 4>, - <0 0 31 &gic 0 31 4>, - <0 0 32 &gic 0 32 4>, - <0 0 33 &gic 0 33 4>, - <0 0 34 &gic 0 34 4>, - <0 0 35 &gic 0 35 4>, - <0 0 36 &gic 0 36 4>, - <0 0 37 &gic 0 37 4>, - <0 0 38 &gic 0 38 4>, - <0 0 39 &gic 0 39 4>, - <0 0 40 &gic 0 40 4>, - <0 0 41 &gic 0 41 4>, - <0 0 42 &gic 0 42 4>; - - /* - * Removed for ACPI - * - ethernet@2,02000000 { - compatible = "smsc,lan91c111"; - reg = <2 0x02000000 0x10000>; - interrupts = <15>; - }; - - v2m_clk24mhz: clk24mhz { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <24000000>; - clock-output-names = "v2m:clk24mhz"; - }; - - v2m_refclk1mhz: refclk1mhz { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <1000000>; - clock-output-names = "v2m:refclk1mhz"; - }; - - v2m_refclk32khz: refclk32khz { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <32768>; - clock-output-names = "v2m:refclk32khz"; - }; - */ - - iofpga@3,00000000 { - compatible = "arm,amba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 3 0 0x200000>; - - /* - * Removed for ACPI - * - v2m_sysreg: sysreg@010000 { - compatible = "arm,vexpress-sysreg"; - reg = <0x010000 0x1000>; - }; - - v2m_serial0: uart@090000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x090000 0x1000>; - interrupts = <5>; - clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; - clock-names = "uartclk", "apb_pclk"; - }; - - v2m_serial1: uart@0a0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0a0000 0x1000>; - interrupts = <6>; - clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; - clock-names = "uartclk", "apb_pclk"; - }; - - v2m_serial2: uart@0b0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0b0000 0x1000>; - interrupts = <7>; - clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; - clock-names = "uartclk", "apb_pclk"; - }; - - v2m_serial3: uart@0c0000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0c0000 0x1000>; - interrupts = <8>; - clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>; - clock-names = "uartclk", "apb_pclk"; - }; - virtio_block@0130000 { - compatible = "virtio,mmio"; - reg = <0x130000 0x1000>; - interrupts = <42>; - }; - */ - }; - }; };
I agree
Acked-by: Graeme Gregory graeme.gregory@linaro.org
On Wed, Oct 23, 2013 at 06:11:23PM +0530, naresh.bhat@linaro.org wrote:
From: Naresh Bhat naresh.bhat@linaro.org
The following bus/device binding has now been moved to DSDT, delete from FDT.
- aliases of serial0
- pmu
- smb
- ethernet
- fixed-clock
- iofpga
- vexpress-sysreg
- uart
- virtio_block
Signed-off-by: Naresh Bhat naresh.bhat@linaro.org
arch/arm64/boot/dts/foundation-v8-acpi.dts | 166 ---------------------------- 1 file changed, 166 deletions(-)
diff --git a/arch/arm64/boot/dts/foundation-v8-acpi.dts b/arch/arm64/boot/dts/foundation-v8-acpi.dts index d6ce908..402e754 100644 --- a/arch/arm64/boot/dts/foundation-v8-acpi.dts +++ b/arch/arm64/boot/dts/foundation-v8-acpi.dts @@ -15,17 +15,6 @@ chosen { };
- /*
* Removed for ACPI*- aliases {
serial0 = &v2m_serial0;serial1 = &v2m_serial1;serial2 = &v2m_serial2;serial3 = &v2m_serial3;- };
- */
- cpus { #address-cells = <2>; #size-cells = <0>;
@@ -87,159 +76,4 @@ clock-frequency = <100000000>; };
- /*
* Removed for ACPI*- pmu {
compatible = "arm,armv8-pmuv3";interrupts = <0 60 4>,<0 61 4>,<0 62 4>,<0 63 4>;- };
- */
- smb {
compatible = "arm,vexpress,v2m-p1", "simple-bus";arm,v2m-memory-map = "rs1";#address-cells = <2>; /* SMB chipselect number and offset */#size-cells = <1>;ranges = <0 0 0 0x08000000 0x04000000>,<1 0 0 0x14000000 0x04000000>,<2 0 0 0x18000000 0x04000000>,<3 0 0 0x1c000000 0x04000000>,<4 0 0 0x0c000000 0x04000000>,<5 0 0 0x10000000 0x04000000>;#interrupt-cells = <1>;interrupt-map-mask = <0 0 63>;interrupt-map = <0 0 0 &gic 0 0 4>,<0 0 1 &gic 0 1 4>,<0 0 2 &gic 0 2 4>,<0 0 3 &gic 0 3 4>,<0 0 4 &gic 0 4 4>,<0 0 5 &gic 0 5 4>,<0 0 6 &gic 0 6 4>,<0 0 7 &gic 0 7 4>,<0 0 8 &gic 0 8 4>,<0 0 9 &gic 0 9 4>,<0 0 10 &gic 0 10 4>,<0 0 11 &gic 0 11 4>,<0 0 12 &gic 0 12 4>,<0 0 13 &gic 0 13 4>,<0 0 14 &gic 0 14 4>,<0 0 15 &gic 0 15 4>,<0 0 16 &gic 0 16 4>,<0 0 17 &gic 0 17 4>,<0 0 18 &gic 0 18 4>,<0 0 19 &gic 0 19 4>,<0 0 20 &gic 0 20 4>,<0 0 21 &gic 0 21 4>,<0 0 22 &gic 0 22 4>,<0 0 23 &gic 0 23 4>,<0 0 24 &gic 0 24 4>,<0 0 25 &gic 0 25 4>,<0 0 26 &gic 0 26 4>,<0 0 27 &gic 0 27 4>,<0 0 28 &gic 0 28 4>,<0 0 29 &gic 0 29 4>,<0 0 30 &gic 0 30 4>,<0 0 31 &gic 0 31 4>,<0 0 32 &gic 0 32 4>,<0 0 33 &gic 0 33 4>,<0 0 34 &gic 0 34 4>,<0 0 35 &gic 0 35 4>,<0 0 36 &gic 0 36 4>,<0 0 37 &gic 0 37 4>,<0 0 38 &gic 0 38 4>,<0 0 39 &gic 0 39 4>,<0 0 40 &gic 0 40 4>,<0 0 41 &gic 0 41 4>,<0 0 42 &gic 0 42 4>;/** Removed for ACPI*ethernet@2,02000000 {compatible = "smsc,lan91c111";reg = <2 0x02000000 0x10000>;interrupts = <15>;};v2m_clk24mhz: clk24mhz {compatible = "fixed-clock";#clock-cells = <0>;clock-frequency = <24000000>;clock-output-names = "v2m:clk24mhz";};v2m_refclk1mhz: refclk1mhz {compatible = "fixed-clock";#clock-cells = <0>;clock-frequency = <1000000>;clock-output-names = "v2m:refclk1mhz";};v2m_refclk32khz: refclk32khz {compatible = "fixed-clock";#clock-cells = <0>;clock-frequency = <32768>;clock-output-names = "v2m:refclk32khz";};*/iofpga@3,00000000 {compatible = "arm,amba-bus", "simple-bus";#address-cells = <1>;#size-cells = <1>;ranges = <0 3 0 0x200000>;/** Removed for ACPI*v2m_sysreg: sysreg@010000 {compatible = "arm,vexpress-sysreg";reg = <0x010000 0x1000>;};v2m_serial0: uart@090000 {compatible = "arm,pl011", "arm,primecell";reg = <0x090000 0x1000>;interrupts = <5>;clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;clock-names = "uartclk", "apb_pclk";};v2m_serial1: uart@0a0000 {compatible = "arm,pl011", "arm,primecell";reg = <0x0a0000 0x1000>;interrupts = <6>;clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;clock-names = "uartclk", "apb_pclk";};v2m_serial2: uart@0b0000 {compatible = "arm,pl011", "arm,primecell";reg = <0x0b0000 0x1000>;interrupts = <7>;clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;clock-names = "uartclk", "apb_pclk";};v2m_serial3: uart@0c0000 {compatible = "arm,pl011", "arm,primecell";reg = <0x0c0000 0x1000>;interrupts = <8>;clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;clock-names = "uartclk", "apb_pclk";};virtio_block@0130000 {compatible = "virtio,mmio";reg = <0x130000 0x1000>;interrupts = <42>;};*/};- };
};
1.7.9.5
Linaro-acpi mailing list Linaro-acpi@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-acpi