Skip to content
Snippets Groups Projects

arm64: dts: imx93-kontron: set correct lpspi for eeram and assign clock

Closed Mikhail Vaniulin requested to merge feature/v6.9-ktn/mx93-dev-eeram into feature/v6.9-ktn/mx93
5 files
+ 1003
21
Compare changes
  • Side-by-side
  • Inline
Files
5
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
* Copyright (C) 2024 Kontron Electronics GmbH
*/
/dts-v1/;
#include "imx93-kontron-osm-s.dtsi"
/ {
model = "Kontron BL i.MX93 OSM-S";
compatible = "kontron,imx93-bl-osm-s", "kontron,imx93-osm-s", "fsl,imx93";
aliases {
ethernet0 = &fec;
ethernet1 = &eqos;
};
leds {
compatible = "gpio-leds";
led1 {
label = "led1";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
};
pwm-beeper {
compatible = "pwm-beeper";
pwms = <&tpm6 0 5000 0>;
};
reg_vcc_panel: regulator-vcc-panel {
compatible = "regulator-fixed";
enable-active-high;
gpio = <&gpio4 3 GPIO_ACTIVE_HIGH>;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <3300000>;
regulator-name = "VCC_PANEL";
};
};
&lpspi8 {
status = "okay";
assigned-clocks = <&clk IMX93_CLK_LPSPI8>;
assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD0_DIV2>;
assigned-clock-rates = <100000000>;
eeram@0 {
compatible = "microchip,48l640";
reg = <0>;
spi-max-frequency = <20000000>;
};
};
&eqos { /* Second ethernet (OSM-S ETH_B) */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_eqos_rgmii>;
phy-connection-type = "rgmii-id";
phy-handle = <&ethphy1>;
status = "okay";
mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;
ethphy1: ethernet-phy@1 {
compatible = "ethernet-phy-id4f51.e91b",
"ethernet-phy-ieee802.3-c22";
reg = <1>;
reset-assert-us = <10000>;
reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
};
};
&fec { /* First ethernet (OSM-S ETH_A) */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet_rgmii>;
phy-connection-type = "rgmii-id";
phy-handle = <&ethphy0>;
status = "okay";
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@1 {
compatible = "ethernet-phy-id4f51.e91b",
"ethernet-phy-ieee802.3-c22";
reg = <1>;
reset-assert-us = <10000>;
reset-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
};
};
};
&flexcan1 {
status = "okay";
};
&lpi2c2 {
status = "okay";
gpio_expander_dio: gpio@20 {
compatible = "ti,tca6408";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names = "DIO1_OUT","DIO1_IN", "DIO2_OUT","DIO2_IN",
"DIO3_OUT","DIO3_IN", "DIO4_OUT","DIO4_IN";
interrupt-parent = <&gpio4>;
interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
};
&lpuart1 {
status = "okay";
};
&lpuart7 {
uart-has-rtscts;
status = "okay";
};
&lpuart6 {
linux,rs485-enabled-at-boot-time;
uart-has-rtscts;
status = "okay";
};
&tpm6 {
status = "okay";
};
&usbotg1 {
disable-over-current;
dr_mode = "host";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
usb1@1 {
compatible = "usb424,2514";
reg = <1>;
};
};
&usbotg2 {
adp-disable;
hnp-disable;
srp-disable;
dr_mode = "otg";
usb-role-switch;
status = "okay";
connector {
compatible = "gpio-usb-b-connector", "usb-b-connector";
label = "Type-C";
type = "micro";
};
};
&usdhc2 {
vmmc-supply = <&reg_vdd_3v3>;
status = "okay";
};
Loading