xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/ipq8074-hk10.dtsi (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
15956d97fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
25956d97fSEmmanuel Vadot/*
35956d97fSEmmanuel Vadot * Copyright (c) 2020, The Linux Foundation. All rights reserved.
45956d97fSEmmanuel Vadot */
55956d97fSEmmanuel Vadot/dts-v1/;
65956d97fSEmmanuel Vadot
75956d97fSEmmanuel Vadot#include "ipq8074.dtsi"
88bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
95956d97fSEmmanuel Vadot
105956d97fSEmmanuel Vadot/ {
115956d97fSEmmanuel Vadot	aliases {
125956d97fSEmmanuel Vadot		serial0 = &blsp1_uart5;
135956d97fSEmmanuel Vadot	};
145956d97fSEmmanuel Vadot
155956d97fSEmmanuel Vadot	chosen {
165956d97fSEmmanuel Vadot		stdout-path = "serial0";
175956d97fSEmmanuel Vadot	};
185956d97fSEmmanuel Vadot
195956d97fSEmmanuel Vadot	memory {
205956d97fSEmmanuel Vadot		device_type = "memory";
215956d97fSEmmanuel Vadot		reg = <0x0 0x40000000 0x0 0x20000000>;
225956d97fSEmmanuel Vadot	};
235956d97fSEmmanuel Vadot};
245956d97fSEmmanuel Vadot
255956d97fSEmmanuel Vadot&blsp1_spi1 {
268bab661aSEmmanuel Vadot	status = "okay";
275956d97fSEmmanuel Vadot
28d5b0e70fSEmmanuel Vadot	flash@0 {
295956d97fSEmmanuel Vadot		#address-cells = <1>;
305956d97fSEmmanuel Vadot		#size-cells = <1>;
315956d97fSEmmanuel Vadot		compatible = "jedec,spi-nor";
325956d97fSEmmanuel Vadot		reg = <0>;
335956d97fSEmmanuel Vadot		spi-max-frequency = <50000000>;
345956d97fSEmmanuel Vadot	};
355956d97fSEmmanuel Vadot};
365956d97fSEmmanuel Vadot
375956d97fSEmmanuel Vadot&blsp1_uart5 {
388bab661aSEmmanuel Vadot	status = "okay";
395956d97fSEmmanuel Vadot};
405956d97fSEmmanuel Vadot
415956d97fSEmmanuel Vadot&pcie0 {
428bab661aSEmmanuel Vadot	status = "okay";
438bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
445956d97fSEmmanuel Vadot};
455956d97fSEmmanuel Vadot
465956d97fSEmmanuel Vadot&pcie1 {
478bab661aSEmmanuel Vadot	status = "okay";
488bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
495956d97fSEmmanuel Vadot};
505956d97fSEmmanuel Vadot
51*cb7aa33aSEmmanuel Vadot&pcie_qmp0 {
528bab661aSEmmanuel Vadot	status = "okay";
535956d97fSEmmanuel Vadot};
545956d97fSEmmanuel Vadot
55*cb7aa33aSEmmanuel Vadot&pcie_qmp1 {
568bab661aSEmmanuel Vadot	status = "okay";
575956d97fSEmmanuel Vadot};
585956d97fSEmmanuel Vadot
595956d97fSEmmanuel Vadot&qpic_bam {
608bab661aSEmmanuel Vadot	status = "okay";
615956d97fSEmmanuel Vadot};
625956d97fSEmmanuel Vadot
635956d97fSEmmanuel Vadot&qpic_nand {
648bab661aSEmmanuel Vadot	status = "okay";
655956d97fSEmmanuel Vadot
665956d97fSEmmanuel Vadot	nand@0 {
675956d97fSEmmanuel Vadot		reg = <0>;
685956d97fSEmmanuel Vadot		nand-ecc-strength = <4>;
695956d97fSEmmanuel Vadot		nand-ecc-step-size = <512>;
705956d97fSEmmanuel Vadot		nand-bus-width = <8>;
715956d97fSEmmanuel Vadot	};
725956d97fSEmmanuel Vadot};
73