Linux: device tree to acpi driver
问题 I need help on this, my driver already work on device tree mode, and I want support acpi mode for it, I'm stuck on create partitions: Device Tree: &spi0 { status = "ok"; flash: n25q256a@0 { status = "ok"; cell-index = <0>; #address-cells = <1>; #size-cells = <1>; compatible = "n25q256a"; reg = <0>; spi-max-frequency = <15000000>; spi-cpha; spi-cpol; partition@0x00000000 { label = "Boot loader"; reg = <0x00000000 0x01000000>; }; partition@0x01000000 { label = "n25q256a-test"; reg = <0x01000000