1b4b8f2c9SClément Péron// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2cabbaed7SClément Péron// Copyright (c) 2016 ARM Ltd. 34e388608SAndre Przywara 44e388608SAndre Przywara#include "sun50i-a64-pine64.dts" 54e388608SAndre Przywara 64e388608SAndre Przywara/ { 7*523bfa30SDragan Simic model = "Pine64 PINE A64+"; 84e388608SAndre Przywara compatible = "pine64,pine64-plus", "allwinner,sun50i-a64"; 94e388608SAndre Przywara 1094dcfdc7SCorentin Labbe /* TODO: Camera, touchscreen, etc. */ 1194dcfdc7SCorentin Labbe}; 1294f44288SCorentin Labbe 1394f44288SCorentin Labbe&emac { 1494f44288SCorentin Labbe pinctrl-names = "default"; 1594f44288SCorentin Labbe pinctrl-0 = <&rgmii_pins>; 16927f42fcSJernej Skrabec phy-mode = "rgmii-txid"; 1794f44288SCorentin Labbe phy-handle = <&ext_rgmii_phy>; 1894f44288SCorentin Labbe status = "okay"; 1994f44288SCorentin Labbe}; 2094f44288SCorentin Labbe 2194f44288SCorentin Labbe&mdio { 2294f44288SCorentin Labbe ext_rgmii_phy: ethernet-phy@1 { 2394f44288SCorentin Labbe compatible = "ethernet-phy-ieee802.3-c22"; 2494f44288SCorentin Labbe reg = <1>; 2594f44288SCorentin Labbe }; 2694f44288SCorentin Labbe}; 2725113667SJernej Skrabec 2825113667SJernej Skrabec®_dc1sw { 2925113667SJernej Skrabec /* 3025113667SJernej Skrabec * Ethernet PHY needs 30ms to properly power up and some more 3125113667SJernej Skrabec * to initialize. 100ms should be plenty of time to finish 3225113667SJernej Skrabec * whole process. 3325113667SJernej Skrabec */ 3425113667SJernej Skrabec regulator-enable-ramp-delay = <100000>; 3525113667SJernej Skrabec}; 36