On 15/03/2023 16:43, Nikita Travkin wrote: > Acer Aspire 1 is a WoA laptop based on Snapdragon 7c gen1 platform. > > The laptop design is similar to trogdor in the choice of primary > components but the specifics on usage of those differ slightly. > > Add the devicetree for the laptop with support for most of the > hardware present. > > Signed-off-by: Nikita Travkin <nikita@xxxxxxx> > --- > Changed in v2: > - Various styling, ordering and node naming issues fixed. (Krzysztof) > > Changed in v3: > - Kepp camcc on, wakeup on touchpad, minor style issues. (Konrad) > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../boot/dts/qcom/sc7180-acer-aspire1.dts | 859 ++++++++++++++++++ > 2 files changed, 860 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index 89e23a74bc7f..4bd4b4079b17 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -76,6 +76,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sa8155p-adp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sa8295p-adp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sa8540p-ride.dtb > dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride.dtb > +dtb-$(CONFIG_ARCH_QCOM) += sc7180-acer-aspire1.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1-lte.dtb > diff --git a/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts b/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts > new file mode 100644 > index 000000000000..b4161f1f21a7 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts > @@ -0,0 +1,859 @@ > +// SPDX-License-Identifier: BSD-3-Clause > + > +/dts-v1/; > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/regulator/qcom,rpmh-regulator.h> > + > +#include "sc7180.dtsi" > + > +#include "pm6150.dtsi" > +#include "pm6150l.dtsi" > + > +/delete-node/ &tz_mem; > +/delete-node/ &ipa_fw_mem; > + > +/ { > + model = "Acer Aspire 1"; > + compatible = "acer,aspire1", "qcom,sc7180"; > + chassis-type = "laptop"; > + > + aliases { > + bluetooth0 = &bluetooth; > + hsuart0 = &uart3; > + serial0 = &uart8; > + wifi0 = &wifi; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + reserved-memory { I still don't think it is ordered by name.... "r" is definitely after "a". Best regards, Krzysztof