|
|
@@ -0,0 +1,101 @@
|
|
|
+// SPDX-License-Identifier: GPL-2.0-only
|
|
|
+/*
|
|
|
+ * Device Tree Source for Meraki devices
|
|
|
+ *
|
|
|
+ * Copyright (C) 2017 Chris Blake <[email protected]>
|
|
|
+ * Copyright (C) 2017 Christian Lamparter <[email protected]>
|
|
|
+ * Copyright (C) 2025 Hal Martin <[email protected]>
|
|
|
+ *
|
|
|
+ * Based on Cisco Meraki DTS from GPL release r25-linux-3.14-20170427
|
|
|
+ *
|
|
|
+ * This file is licensed under the terms of the GNU General Public
|
|
|
+ * License version 2. This program is licensed "as is" without
|
|
|
+ * any warranty of any kind, whether express or implied.
|
|
|
+ */
|
|
|
+
|
|
|
+#include "qcom-ipq4029-meraki-common.dtsi"
|
|
|
+
|
|
|
+/ {
|
|
|
+ aliases {
|
|
|
+ led-boot = &status_green;
|
|
|
+ led-failsafe = &status_red;
|
|
|
+ led-running = &status_green;
|
|
|
+ led-upgrade = &power_orange;
|
|
|
+ };
|
|
|
+
|
|
|
+ leds {
|
|
|
+ compatible = "gpio-leds";
|
|
|
+
|
|
|
+ power_orange: power {
|
|
|
+ function = LED_FUNCTION_POWER;
|
|
|
+ color = <LED_COLOR_ID_ORANGE>;
|
|
|
+ gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
|
|
|
+ panic-indicator;
|
|
|
+ };
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
+&blsp1_i2c3 {
|
|
|
+ eeprom@56 {
|
|
|
+ compatible = "atmel,24c64";
|
|
|
+ pagesize = <32>;
|
|
|
+ reg = <0x56>;
|
|
|
+ read-only; /* This holds our MAC & Meraki board-data */
|
|
|
+
|
|
|
+ nvmem-layout {
|
|
|
+ compatible = "fixed-layout";
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+
|
|
|
+ mac_address: mac-address@66 {
|
|
|
+ compatible = "mac-base";
|
|
|
+ reg = <0x66 0x6>;
|
|
|
+ #nvmem-cell-cells = <1>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
+&tlmm {
|
|
|
+ i2c_0_pins: i2c_0_pinmux {
|
|
|
+ function = "blsp_i2c0";
|
|
|
+ pins = "gpio10", "gpio11";
|
|
|
+ drive-strength = <16>;
|
|
|
+ bias-disable;
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
+&mdio {
|
|
|
+ ethernet-phy-package@0 {
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
+&switch {
|
|
|
+ /delete-property/ psgmii-ethphy;
|
|
|
+};
|
|
|
+
|
|
|
+ðphy0 {
|
|
|
+ status = "disabled";
|
|
|
+};
|
|
|
+
|
|
|
+ðphy1 {
|
|
|
+ status = "disabled";
|
|
|
+};
|
|
|
+
|
|
|
+ðphy2 {
|
|
|
+ status = "disabled";
|
|
|
+};
|
|
|
+
|
|
|
+ðphy3 {
|
|
|
+ status = "disabled";
|
|
|
+};
|
|
|
+
|
|
|
+ðphy4 {
|
|
|
+ status = "disabled";
|
|
|
+};
|
|
|
+
|
|
|
+&psgmiiphy {
|
|
|
+ status = "disabled";
|
|
|
+};
|
|
|
+
|