| // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| /dts-v1/; |
| |
| /* Bootloader installs ATF here */ |
| /memreserve/ 0x80000000 0x200000; |
| |
| #include "en7581.dtsi" |
| |
| / { |
| model = "Airoha EN7581 Evaluation Board"; |
| compatible = "airoha,en7581-evb", "airoha,en7581"; |
| |
| aliases { |
| serial0 = &uart1; |
| }; |
| |
| chosen { |
| stdout-path = "serial0:115200n8"; |
| linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>; |
| }; |
| |
| memory@80000000 { |
| device_type = "memory"; |
| reg = <0x0 0x80000000 0x2 0x00000000>; |
| }; |
| }; |
| |
| &spi_nand { |
| partitions { |
| compatible = "fixed-partitions"; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| bootloader@0 { |
| label = "bootloader"; |
| reg = <0x00000000 0x00080000>; |
| read-only; |
| }; |
| |
| art@200000 { |
| label = "art"; |
| reg = <0x00200000 0x00400000>; |
| }; |
| |
| tclinux@600000 { |
| label = "tclinux"; |
| reg = <0x00600000 0x03200000>; |
| }; |
| |
| tclinux_slave@3800000 { |
| label = "tclinux_alt"; |
| reg = <0x03800000 0x03200000>; |
| }; |
| |
| rootfs_data@6a00000 { |
| label = "rootfs_data"; |
| reg = <0x06a00000 0x01400000>; |
| }; |
| |
| reserved_bmt@7e00000 { |
| label = "reserved_bmt"; |
| reg = <0x07e00000 0x00200000>; |
| read-only; |
| }; |
| }; |
| }; |
| |
| &en7581_pinctrl { |
| gpio-ranges = <&en7581_pinctrl 0 13 47>; |
| |
| pcie0_rst_pins: pcie0-rst-pins { |
| conf { |
| pins = "pcie_reset0"; |
| drive-open-drain = <1>; |
| }; |
| }; |
| |
| pcie1_rst_pins: pcie1-rst-pins { |
| conf { |
| pins = "pcie_reset1"; |
| drive-open-drain = <1>; |
| }; |
| }; |
| }; |
| |
| &pcie0 { |
| pinctrl-names = "default"; |
| pinctrl-0 = <&pcie0_rst_pins>; |
| status = "okay"; |
| }; |
| |
| &pcie1 { |
| pinctrl-names = "default"; |
| pinctrl-0 = <&pcie1_rst_pins>; |
| status = "okay"; |
| }; |
| |
| &i2c0 { |
| status = "okay"; |
| }; |