From patchwork Sat Jun 11 16:59:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 12878595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0498C433EF for ; Sat, 11 Jun 2022 17:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yPzdhNn9BCHApy69tsayfNMKKRmQ+6ZIYmBNKQZTZC0=; b=x3lVgpVgz1/nVC onnyCjZNTFdAv/vZwa5UpyUkkg41gwrZzM1nc3YE7N0zkbFe9Fr2X6/tIO9zjBzWtqRR00ZB3GfP9 AqCCNFMxhlbo/mmmwBAbDzprCRItfi6KoABl7BL1dqsR7jmywQszckBg7sZaAwGcK9te0JT0I1+D9 0SAvS5nZkb8s8OMX1DkFiMrml0LnnYTDcd0sA/cIPIFs9xzf8gWO8MaU8nwNiVoqXCP2VEglSfjJM AMmqK7A4MpcsHQwK7NKKmg7k6283qph2yHjaR7aP0FMKSYR2Szh7fSmrZqCTlmooDqZqxiKrWEvJW c6dMJ5oM90A7KCHS+TUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o04T1-00DtAT-4Q; Sat, 11 Jun 2022 17:00:07 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o04St-00DswN-HS for linux-arm-kernel@lists.infradead.org; Sat, 11 Jun 2022 17:00:01 +0000 Received: by mail-wr1-x435.google.com with SMTP id v14so2217312wra.5 for ; Sat, 11 Jun 2022 09:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oe92KaZIvjFI8N3NPIv/PvWQzvSXJ7GrzlL75FJJXu4=; b=Ayjd4CP+l8cjxZcaJsPJkl4SnODLJS4oVcaOkNMylToabYnLh3DNGIVPgJHJNc2mxb oMU0GgTcgebvRHIRLp1ErTXaZdd3FbU4YG2EmUmh278AhCa0hKgXAe+KUEdQedKTL3lm Lq7YHCMJWxLrYmMJtrR7jP0Gu0MliUg/fw+tsla76uY18YGxse7mM4g8I9OhK3PhIBmD GBVTEdrZ1jJItSGrCQmYVfw6z0pqkdh70qW/2hefvBbtO+Pdfl/NyhPzXyKztVkE1CBt jvtnB0VS4n8P2LJgX7k+vGxl5zO7jlAPziKwHP/VUtL+ajR79DFvv7IMyZBTrkuEGJgY 9xbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oe92KaZIvjFI8N3NPIv/PvWQzvSXJ7GrzlL75FJJXu4=; b=u8n/ALBDCMKOmvtMAa3Dq/Q8CE2QpBdn4zG8q5f90VOHVdJFbP1Yr4pSHKwncEihZs GupE0ZRuKtZKaZqw08Zp/7SN2Qvc3jNf70HDw7r5R/mZDPtF+lU8Da/PDhD7YJyCEP3I AQBI/P0QG30MccOWO8IOyxBIsFzcVYZO2WPlMdTVkX5Y7ed8rAi8YIRfxZhAwMLCZO2D PrGmrUn+Rkz0mmmtr2PnC68wLTUMqRSMbD4wS5kK50oYOk5gBlIkJDDS8/Y9jbZUTM7I SIMIedOcdJWchPO3L8YVwDPazSIeJrvYfpV8Ui1D9z6AAe8oWME1a6YjAPG2sgoxlZhs z06w== X-Gm-Message-State: AOAM530YUlQq1cv7qPo8muGHyHuwHTf9XGpRVq2KP85MbVZJ7ofSlqv9 UzqCJTrGFqgDaWYbbxezsbDGxj5rRfg= X-Google-Smtp-Source: ABdhPJwVCrwqqrQja6zasfXpO8l9s0jtHciXvJ9LKdj2RZ2Uinp0Xxa4SC+aneiyyQAelyVCRVlgfg== X-Received: by 2002:a5d:6da2:0:b0:219:abb9:6546 with SMTP id u2-20020a5d6da2000000b00219abb96546mr16773593wrs.541.1654966789614; Sat, 11 Jun 2022 09:59:49 -0700 (PDT) Received: from debian64.daheim (p5b0d7071.dip0.t-ipconnect.de. [91.13.112.113]) by smtp.gmail.com with ESMTPSA id bh4-20020a05600005c400b002103bd9c5acsm3142446wrb.105.2022.06.11.09.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 09:59:49 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.95) (envelope-from ) id 1o04Si-001ik4-UC; Sat, 11 Jun 2022 18:59:48 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Cc: Florian Fainelli , Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring Subject: [PATCH v1 1/2] dt-bindings: ARM: add bindings for the Meraki MR26 Date: Sat, 11 Jun 2022 18:59:47 +0200 Message-Id: <20220611165948.410308-1-chunkeey@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220611_095959_618745_3A48625E X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org mark the Meraki MR26 and its SoC (BCM53015) as supported in the bindings documentation file. "BCM53011 and BCM53015 with dual-core Cortex-A9 CPU at 800 MHz, 256KB L2 cache, 16-bit DDR2 interface, USB3, integrated switch, GPHYs and packet accelerator" Signed-off-by: Christian Lamparter Acked-by: Rob Herring --- .../devicetree/bindings/arm/bcm/brcm,bcm4708.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml index 8b7e87fb6c34..958df32b4899 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.yaml @@ -87,6 +87,13 @@ properties: - const: brcm,bcm53012 - const: brcm,bcm4708 + - description: BCM53015 based boards + items: + - enum: + - meraki,mr26 + - const: brcm,bcm53015 + - const: brcm,bcm4708 + - description: BCM53016 based boards items: - enum: From patchwork Sat Jun 11 16:59:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 12878596 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 107D9C43334 for ; Sat, 11 Jun 2022 17:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=80o7tysX4K8ZZx6sWpwO76lKdZM6vqXVOhJLeSlGcwk=; b=XrJk6nLhZ8LGp5 HsCARR3q1tf/xfJmFt5wNlo5f5JvnL3JFiVOywKSA+y7LVt6hLkuLZ2km0w+cmJMRS+nwPL7jiw9Z EQpLpzY0oHJWDnHLnQnrUyvlk7ppgg3u1cQ7SWGnyyGpH5zfYhAsnx1F4qHZOw9aZ0T74/2Ko/A1/ JQuwkBMmvAiafWDkLHJ581tBUEWtHYhA84gvlfs3QbWzaRmIHzLGe1rFvHuADV4t/DRbOw1KHauuU lckfnqprYbEOk/aTsP/tmlDDKNMU+OG4XRCY+jlLH8AA9K5TqPsDOA63KKv5P3RlTFDO3Hd6GS8Bv DgieU0kYKLQQoEQrmszg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o04Ss-00Dt10-58; Sat, 11 Jun 2022 16:59:58 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o04So-00Dsvq-Jm for linux-arm-kernel@lists.infradead.org; Sat, 11 Jun 2022 16:59:56 +0000 Received: by mail-wm1-x331.google.com with SMTP id a10so910242wmj.5 for ; Sat, 11 Jun 2022 09:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JdMW+GNSGWbOb/1vUklHM9SGyivlgdwCwlgeUZbl6E8=; b=emPIW5Rw/aikH5OABELCozsJ/aQdnssw3apc99+Q/EvEWAPwPQj1tLfDshTKqWrgfn wjkRIOikJGOSrmz3QBFbtZfuEP/xpskwsHWevpfNWjXKsEevvWtFCzFIlJv/EsHeeNwJ ML2H31Qf5VczCh7kKqhbnRZ2WQIEcWaRhHftfAunmpv080Ij8/l6FDnhlqq24+IJ2MUL jg6yyojEzNT+DzgoPh4QW09QVj6CAxPbQCVUUn1ix+GEm+ClPB75YYzqsJoHOIULBidb vrDFZSNovg0hqWbDEbPaQcBMl8qOF4Lf7fpIG1+T70svEjTqDSVPChvj0hNEfAxWM135 HKsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JdMW+GNSGWbOb/1vUklHM9SGyivlgdwCwlgeUZbl6E8=; b=DmN5qqQouKR5+Z+D2EYhh71HwWfxAFat55hsCD7J9WGcIkDDp4aFTCnZBFCW2OXvn0 Mq2Ydl+xPPVfaVVajb49WViIs4Wnn0syVvkCicuDGiKeoJBDQ+AboX654G6jjpZ3oeMS Z4OwiVKKkHIaSheOl5LNB0VxZnklIy7RsIBe4YQHP2NxWw2RucssRnLK1yjEmqdKXT6Y lc+jY9lueAWordqCGzPK+N/rf4oICJtTiQdorr1KKeC7QOommA1ZB+KjW/D+yPnzvxTD 93KUmlEXuJX48/NXlO6q5doTZMOHXEs4+FljEXMxnXSDUfKKMTQQg7xG7H9OGlp2NkCQ tXig== X-Gm-Message-State: AOAM531QlKOQgMlDnLF1VS5zIhZMbdehbesE0aC+gmz/X8rrK/nFUxsB Jp4Id3tLmNnUjJjrFleKVdKcCRYTjSo= X-Google-Smtp-Source: ABdhPJwowIbymMesCHYm9VAgwDAsSB2EcRB10FLscG+AKVNIQjWBflnjI4DAtpXlZRxOSywYSGA6fg== X-Received: by 2002:a05:600c:acb:b0:397:bdb:ffea with SMTP id c11-20020a05600c0acb00b003970bdbffeamr5774700wmr.56.1654966789913; Sat, 11 Jun 2022 09:59:49 -0700 (PDT) Received: from debian64.daheim (p5b0d7071.dip0.t-ipconnect.de. [91.13.112.113]) by smtp.gmail.com with ESMTPSA id r124-20020a1c2b82000000b0039466988f6csm7192668wmr.31.2022.06.11.09.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 09:59:49 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.95) (envelope-from ) id 1o04Si-001ik7-Uv; Sat, 11 Jun 2022 18:59:48 +0200 From: Christian Lamparter To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Cc: Florian Fainelli , Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring Subject: [PATCH v1 2/2] ARM: BCM5301X: Add DT for Meraki MR26 Date: Sat, 11 Jun 2022 18:59:48 +0200 Message-Id: <20220611165948.410308-2-chunkeey@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220611165948.410308-1-chunkeey@gmail.com> References: <20220611165948.410308-1-chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220611_095954_731371_CDC8D400 X-CRM114-Status: GOOD ( 22.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Meraki MR26 is an EOL wireless access point featuring a PoE ethernet port and two dual-band 3x3 MIMO 802.11n radios and 1x1 dual-band WIFI dedicated to scanning. Thank you Amir for the unit and PSU. Hardware info: SOC : Broadcom BCM53015A1KFEBG (dual-core Cortex-A9 CPU at 800 MHz) RAM : H5TQ1G63EFR, SK hynix Inc. 1Gb DDR3 SDRAM = 128 MiB NAND : S34ML01G100TF100, S34ML01G1 1 Gb Spansion SLC NAND Flash = 128 MiB ETH : 1GBit Ethernet Port - PoE (TPS23754 PoE Interface) WIFI0 : Broadcom BCM43431KMLG, BCM43431 802.11 abgn (3x3:3) WIFI1 : Broadcom BCM43431KMLG, BCM43431 802.11 abgn (3x3:3) WIFI2 : Broadcom BCM43428 802.11 abgn (1x1:1) BUTTON: one reset button LEDS : one amber (fault), one white (indicator) LED, separate RGB-LED. MISC : Atmel AT24C64 8KiB EEPROM i2c : Ti INA219 26V, 12-bit, i2c output current/voltage/power monitor SERIAL: WARNING: The serial port needs a TTL/RS-232 3V3 level converter! The Serial setting is 115200-8-N-1. The board has a populated right angle 1x4 0.1" pinheader. The pinout is: VCC (next to J3, has the pin 1 indicator), RX, TX, GND. Odd stuff: - uboot does not support lzma compression, but gzip'd uImage/DTB work. - uboot claims to support FIT, but fails to pass the DTB to the kernel. Appending the dtb after the kernel image works. - RGB-controller is supported through an external userspace program. - The ubi partition contains a "board-config" volume. It stores the MAC Address (0x66 in binary) and Serial No. (0x7c alpha-numerical). - SoC's temperature sensor always reports that it is on fire. This causes the system to immediately shutdown! Looking at reported "418 degree Celsius" suggests that this sensor is not working. WIFI: b43 is able to initialize all three WIFIs @ 802.11bg. | b43-phy0: Broadcom 43431 WLAN found (core revision 29) | bcma-pci-bridge 0000:01:00.0: bus1: Switched to core: 0x812 | b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1 | b43-phy0: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1 | b43-phy0 warning: 5 GHz band is unsupported on this PHY | b43-phy1: Broadcom 43431 WLAN found (core revision 29) | bcma-pci-bridge 0001:01:00.0: bus2: Switched to core: 0x812 | b43-phy1: Found PHY: Analog 9, Type 7 (HT), Revision 1 | b43-phy1: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1 | b43-phy1 warning: 5 GHz band is unsupported on this PHY | b43-phy2: Broadcom 43228 WLAN found (core revision 30) | bcma-pci-bridge 0002:01:00.0: bus3: Switched to core: 0x812 | b43-phy2: Found PHY: Analog 9, Type 4 (N), Revision 16 | b43-phy2: Found Radio: Manuf 0x17F, ID 0x2057, Revision 9, Version 1 | Broadcom 43xx driver loaded [ Features: NL ] Signed-off-by: Christian Lamparter --- |WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? |#89: |new file mode 100644 MAINTAINERS has: >BROADCOM BCM5301X ARM ARCHITECTURE >[...] >F: arch/arm/boot/dts/bcm5301* |WARNING: DT compatible string "atmel,24c64" appears un-documented \ |-- check ./Documentation/devicetree/bindings/ |#245: FILE: arch/arm/boot/dts/bcm53015-meraki-mr26.dts:152: |+ compatible = "atmel,24c64"; weird, it should match what is in: Documentation/devicetree/bindings/eeprom/at24.yaml --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm53015-meraki-mr26.dts | 166 +++++++++++++++++++++ 2 files changed, 167 insertions(+) create mode 100644 arch/arm/boot/dts/bcm53015-meraki-mr26.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 184899808ee7..9ad78c358330 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -135,6 +135,7 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ bcm47094-luxul-xwr-3150-v1.dtb \ bcm47094-netgear-r8500.dtb \ bcm47094-phicomm-k3.dtb \ + bcm53015-meraki-mr26.dtb \ bcm53016-meraki-mr32.dtb \ bcm94708.dtb \ bcm94709.dtb \ diff --git a/arch/arm/boot/dts/bcm53015-meraki-mr26.dts b/arch/arm/boot/dts/bcm53015-meraki-mr26.dts new file mode 100644 index 000000000000..597d36945756 --- /dev/null +++ b/arch/arm/boot/dts/bcm53015-meraki-mr26.dts @@ -0,0 +1,166 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for Meraki MR26 / Codename: Venom + * + * Copyright (C) 2022 Christian Lamparter + */ + +/dts-v1/; + +#include "bcm4708.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" +#include + +/ { + compatible = "meraki,mr26", "brcm,bcm53015", "brcm,bcm4708"; + model = "Meraki MR26"; + + memory@0 { + reg = <0x00000000 0x08000000>; + device_type = "memory"; + }; + + leds { + compatible = "gpio-leds"; + + led-0 { + function = LED_FUNCTION_FAULT; + color = ; + gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>; + panic-indicator; + }; + led-1 { + function = LED_FUNCTION_INDICATOR; + color = ; + gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>; + }; + }; + + keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&uart0 { + clock-frequency = <50000000>; + /delete-property/ clocks; +}; + +&uart1 { + status = "disabled"; +}; + +&gmac0 { + status = "okay"; +}; + +&gmac1 { + status = "disabled"; +}; +&gmac2 { + status = "disabled"; +}; +&gmac3 { + status = "disabled"; +}; + +&nandcs { + nand-ecc-algo = "hw"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <0x1>; + #size-cells = <0x1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x200000>; + read-only; + }; + + partition@200000 { + label = "u-boot-env"; + reg = <0x200000 0x200000>; + /* empty */ + }; + + partition@400000 { + label = "u-boot-backup"; + reg = <0x400000 0x200000>; + /* empty */ + }; + + partition@600000 { + label = "u-boot-env-backup"; + reg = <0x600000 0x200000>; + /* empty */ + }; + + partition@800000 { + label = "ubi"; + reg = <0x800000 0x7780000>; + }; + }; +}; + +&srab { + status = "okay"; + + ports { + port@0 { + reg = <0>; + label = "poe"; + }; + + port@5 { + reg = <5>; + label = "cpu"; + ethernet = <&gmac0>; + + fixed-link { + speed = <1000>; + duplex-full; + }; + }; + }; +}; + +&i2c0 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinmux_i2c>; + + clock-frequency = <100000>; + + ina219@40 { + compatible = "ti,ina219"; /* PoE power */ + reg = <0x40>; + shunt-resistor = <60000>; /* = 60 mOhms */ + }; + + eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + pagesize = <32>; + read-only; + #address-cells = <1>; + #size-cells = <1>; + + /* it's empty */ + }; +}; + +&thermal { + status = "disabled"; + /* does not work, reads 418 degree Celsius */ +};