1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (c) 2020 Rockchip Electronics Co., Ltd. 4724ba675SRob Herring * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. 5724ba675SRob Herring */ 6724ba675SRob Herring 7724ba675SRob Herring/dts-v1/; 8724ba675SRob Herring#include "rv1126.dtsi" 9724ba675SRob Herring#include "rv1126-edgeble-neu2.dtsi" 10724ba675SRob Herring 11724ba675SRob Herring/ { 12724ba675SRob Herring model = "Edgeble Neu2 IO Board"; 13724ba675SRob Herring compatible = "edgeble,neural-compute-module-2-io", 14724ba675SRob Herring "edgeble,neural-compute-module-2", "rockchip,rv1126"; 15724ba675SRob Herring 16724ba675SRob Herring aliases { 17724ba675SRob Herring serial2 = &uart2; 18724ba675SRob Herring }; 19724ba675SRob Herring 20724ba675SRob Herring chosen { 21724ba675SRob Herring stdout-path = "serial2:1500000n8"; 22724ba675SRob Herring }; 235d1d164dSJagan Teki 24*2c3944d9SJohan Jonker vcc12v_dcin: regulator-vcc12v-dcin { 25c991ed9fSJagan Teki compatible = "regulator-fixed"; 26c991ed9fSJagan Teki regulator-name = "vcc12v_dcin"; 27c991ed9fSJagan Teki regulator-always-on; 28c991ed9fSJagan Teki regulator-boot-on; 29c991ed9fSJagan Teki regulator-min-microvolt = <12000000>; 30c991ed9fSJagan Teki regulator-max-microvolt = <12000000>; 31c991ed9fSJagan Teki }; 32c991ed9fSJagan Teki 33*2c3944d9SJohan Jonker vcc5v0_sys: regulator-vcc5v0-sys { 34c991ed9fSJagan Teki compatible = "regulator-fixed"; 35c991ed9fSJagan Teki regulator-name = "vcc5v0_sys"; 36c991ed9fSJagan Teki regulator-always-on; 37c991ed9fSJagan Teki regulator-boot-on; 38c991ed9fSJagan Teki regulator-min-microvolt = <5000000>; 39c991ed9fSJagan Teki regulator-max-microvolt = <5000000>; 40c991ed9fSJagan Teki vin-supply = <&vcc12v_dcin>; 41c991ed9fSJagan Teki }; 42c991ed9fSJagan Teki 43*2c3944d9SJohan Jonker v3v3_sys: regulator-v3v3-sys { 445d1d164dSJagan Teki compatible = "regulator-fixed"; 455d1d164dSJagan Teki regulator-name = "v3v3_sys"; 465d1d164dSJagan Teki regulator-always-on; 475d1d164dSJagan Teki regulator-boot-on; 485d1d164dSJagan Teki regulator-min-microvolt = <3300000>; 495d1d164dSJagan Teki regulator-max-microvolt = <3300000>; 505d1d164dSJagan Teki vin-supply = <&vcc5v0_sys>; 515d1d164dSJagan Teki }; 52724ba675SRob Herring}; 53724ba675SRob Herring 54724ba675SRob Herring&gmac { 55724ba675SRob Herring assigned-clocks = <&cru CLK_GMAC_SRC>, <&cru CLK_GMAC_TX_RX>, 56724ba675SRob Herring <&cru CLK_GMAC_ETHERNET_OUT>; 57724ba675SRob Herring assigned-clock-parents = <&cru CLK_GMAC_SRC_M1>, <&cru RGMII_MODE_CLK>; 58724ba675SRob Herring assigned-clock-rates = <125000000>, <0>, <25000000>; 59724ba675SRob Herring clock_in_out = "input"; 60724ba675SRob Herring phy-handle = <&phy>; 61724ba675SRob Herring phy-mode = "rgmii"; 62724ba675SRob Herring phy-supply = <&vcc_3v3>; 63724ba675SRob Herring pinctrl-names = "default"; 6432de939aSTim Lunn pinctrl-0 = <&rgmiim1_miim &rgmiim1_bus2 &rgmiim1_bus4 &clk_out_ethernetm1_pins>; 65724ba675SRob Herring tx_delay = <0x2a>; 66724ba675SRob Herring rx_delay = <0x1a>; 67724ba675SRob Herring status = "okay"; 68724ba675SRob Herring}; 69724ba675SRob Herring 70724ba675SRob Herring&mdio { 71724ba675SRob Herring phy: ethernet-phy@0 { 729c29e5d7SMarek Vasut compatible = "ethernet-phy-id001c.c916"; 73724ba675SRob Herring reg = <0x0>; 74724ba675SRob Herring pinctrl-names = "default"; 75724ba675SRob Herring pinctrl-0 = <ð_phy_rst>; 76724ba675SRob Herring reset-assert-us = <20000>; 77724ba675SRob Herring reset-deassert-us = <100000>; 78724ba675SRob Herring reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>; 79724ba675SRob Herring }; 80724ba675SRob Herring}; 81724ba675SRob Herring 82724ba675SRob Herring&pinctrl { 83724ba675SRob Herring ethernet { 84724ba675SRob Herring eth_phy_rst: eth-phy-rst { 85724ba675SRob Herring rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; 86724ba675SRob Herring }; 87724ba675SRob Herring }; 88724ba675SRob Herring}; 89724ba675SRob Herring 90ef4907deSJagan Teki&pwm11 { 91ef4907deSJagan Teki status = "okay"; 92ef4907deSJagan Teki}; 93ef4907deSJagan Teki 94724ba675SRob Herring&sdmmc { 95724ba675SRob Herring bus-width = <4>; 96724ba675SRob Herring cap-mmc-highspeed; 97724ba675SRob Herring cap-sd-highspeed; 98724ba675SRob Herring card-detect-delay = <200>; 99724ba675SRob Herring pinctrl-names = "default"; 100724ba675SRob Herring pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_bus4 &sdmmc0_det>; 101724ba675SRob Herring rockchip,default-sample-phase = <90>; 102724ba675SRob Herring sd-uhs-sdr12; 103724ba675SRob Herring sd-uhs-sdr25; 104724ba675SRob Herring sd-uhs-sdr104; 105724ba675SRob Herring vqmmc-supply = <&vccio_sd>; 106724ba675SRob Herring status = "okay"; 107724ba675SRob Herring}; 108724ba675SRob Herring 109724ba675SRob Herring&uart2 { 110724ba675SRob Herring status = "okay"; 111724ba675SRob Herring}; 112