Skip to content
Snippets Groups Projects

Draft: WIP Kontron i.MX8MM/MP OSM-S Devicetree Improvements

// SPDX-License-Identifier: GPL-2.0+ OR MIT
/*
* Copyright (C) 2024 Kontron Electronics GmbH
*/
/dts-v1/;
#include <dt-bindings/phy/phy-imx8-pcie.h>
#include "imx8mp-kontron-smarc.dtsi"
/ {
model = "Kontron SMARC Eval Carrier with i.MX8MP";
compatible = "kontron,imx8mp-smarc-eval-carrier", "kontron,imx8mp-smarc", "kontron,imx8mp-osm-s", "fsl,imx8mp";
// backlight: backlight {
// compatible = "pwm-backlight";
// pwms = <&pwm1 0 50000 0>;
// brightness-levels = <0 100>;
// num-interpolated-steps = <100>;
// default-brightness-level = <100>;
// enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
// };
// sound {
// compatible = "fsl,imx-audio-wm8904";
// model = "imx-wm8904";
// sai-controllers = <&sai3>;
// audio-codec = <&wm8904>;
// audio-routing =
// "Line Out Jack", "LINEOUTR",
// "Line Out Jack", "LINEOUTL",
// "Headphone Jack", "HPOUTR",
// "Headphone Jack", "HPOUTL",
// "IN1L", "Line In Jack",
// "IN1R", "Line In Jack",
// "Mic Jack", "MICBIAS",
// "IN2L", "Mic Jack",
// "IN2R", "Mic Jack";
// };
/*
pcie0_refclk: pcie0-refclk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <100000000>;
};
*/
};
// &ecspi1 {
// status = "okay";
// flash@0 {
// compatible = "jedec,spi-nor";
// reg = <0>;
// };
// };
// &ecspi2 {
// status = "okay";
// };
&eqos {
status = "okay";
};
&fec {
status = "okay";
};
// &flexcan1 {
// status = "okay";
// };
// &flexcan2 {
// status = "okay";
// };
// &hdmi_pvi {
// status = "okay";
// };
// &hdmi_tx {
// pinctrl-names = "default";
// pinctrl-0 = <&pinctrl_hdmi>;
// ddc-i2c-bus = <&i2c3>;
// status = "okay";
// };
// &hdmi_tx_phy {
// status = "okay";
// };
// &i2c1 {
// status = "okay";
// };
// &i2c2 {
// status = "okay";
// wm8904: wm8904@1a {
// compatible = "wlf,wm8904";
// reg = <0x1a>;
// clock-names = "mclk";
// clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>;
// //assigned-clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>;
// //assigned-clock-rates = <1250000>;
// };
// carrier_gpio2: tca9554@20 {
// compatible = "nxp,pca9554";
// reg = <0x20>;
// gpio-controller;
// #gpio-cells = <2>;
// status = "okay";
// };
// };
// &i2c4 {
// status = "okay";
// };
// &pcie_phy {
// fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
// //fsl,clkreq-unsupported;
// /*
// * SMARC Carrier has PCIe Clock Buffer 9DBV0231!
// * TODO: Find out how to describe it.
// */
// //clocks = <&pcie0_refclk>;
// clock-names = "ref";
// //status = "okay";
// };
// &pcie {
// pinctrl-names = "default";
// pinctrl-0 = <&pinctrl_pcie>;
// reset-gpio = <&gpio3 2 GPIO_ACTIVE_LOW>;
// //status = "okay";
// };
// &pwm1 {
// status = "okay";
// };
// &pwm3 {
// status = "okay";
// };
// &sai3 {
// status = "okay";
// };
// &uart1 {
// uart-has-rtscts;
// status = "okay";
// };
// &uart2 {
// status = "okay";
// };
// &uart4 {
// uart-has-rtscts;
// status = "okay";
// };
// &usb_dwc3_0 {
// adp-disable;
// hnp-disable;
// srp-disable;
// dr_mode = "otg";
// usb-role-switch;
// status = "okay";
// connector {
// compatible = "gpio-usb-b-connector", "usb-b-connector";
// pinctrl-names = "default";
// pinctrl-0 = <&pinctrl_usb1_id>;
// id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
// type = "micro";
// vbus-supply = <&reg_usb1_vbus>;
// };
// };
// &usb_dwc3_1 {
// status = "okay";
// };
// &usb3_0 {
// status = "okay";
// };
// &usb3_1 {
// status = "okay";
// };
// &usb3_phy0 {
// status = "okay";
// };
// &usb3_phy1 {
// status = "okay";
// };
&usdhc2 {
vmmc-supply = <&reg_vdd_3v3>;
status = "okay";
};
Loading