Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * Copyright (C) 2015 STMicroelectronics (R&D) Limited.
  4 * Author: Maxime Coquelin <maxime.coquelin@st.com>
 
 
 
 
  5 */
  6/dts-v1/;
  7#include "stih418.dtsi"
  8#include <dt-bindings/gpio/gpio.h>
  9/ {
 10	model = "STiH418 B2199";
 11	compatible = "st,stih418-b2199", "st,stih418";
 12
 13	chosen {
 
 14		stdout-path = &sbc_serial0;
 15	};
 16
 17	memory@40000000 {
 18		device_type = "memory";
 19		reg = <0x40000000 0xc0000000>;
 20	};
 21
 22	aliases {
 23		serial0 = &sbc_serial0;
 24		ethernet0 = &ethernet0;
 25	};
 26
 27	leds {
 28		compatible = "gpio-leds";
 29		led-red {
 30			label = "Front Panel LED";
 31			gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
 32			linux,default-trigger = "heartbeat";
 33		};
 34		led-green {
 35			gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
 36			default-state = "off";
 37		};
 38	};
 39
 40	miphy28lp_phy: miphy28lp {
 41
 42		phy_port0: port@9b22000 {
 43			st,osc-rdy;
 44		};
 45
 46		phy_port1: port@9b2a000 {
 47			st,osc-force-ext;
 48		};
 49	};
 50
 51	soc {
 52		sbc_serial0: serial@9530000 {
 53			status = "okay";
 54		};
 55
 56		i2c@9842000 {
 57			status = "okay";
 58		};
 59
 60		i2c@9843000 {
 61			status = "okay";
 62		};
 63
 64		i2c@9844000 {
 65			status = "okay";
 66		};
 67
 68		i2c@9845000 {
 69			status = "okay";
 70		};
 71
 72		i2c@9540000 {
 73			status = "okay";
 74		};
 75
 76		/* SSC11 to HDMI */
 77		i2c@9541000 {
 78			status = "okay";
 79			/* HDMI V1.3a supports Standard mode only */
 80			clock-frequency = <100000>;
 81			st,i2c-min-scl-pulse-width-us = <0>;
 82			st,i2c-min-sda-pulse-width-us = <5>;
 83		};
 84
 85		mmc1: sdhci@9080000 {
 86			status = "okay";
 87		};
 88
 89		mmc0: sdhci@9060000 {
 90			status = "okay";
 91			max-frequency = <200000000>;
 92			sd-uhs-sdr50;
 93			sd-uhs-sdr104;
 94			sd-uhs-ddr50;
 95			non-removable;
 
 
 
 
 
 
 
 
 
 
 
 96		};
 97
 98		st_dwc3: dwc3@8f94000 {
 99			status = "okay";
100		};
101
102		ethernet0: dwmac@9630000 {
103			st,tx-retime-src = "clkgen";
104			status = "okay";
105			phy-mode = "rgmii";
106			fixed-link = <0 1 1000 0 0>;
107		};
108	};
109};
v4.17
 
  1/*
  2 * Copyright (C) 2015 STMicroelectronics (R&D) Limited.
  3 * Author: Maxime Coquelin <maxime.coquelin@st.com>
  4 *
  5 * This program is free software; you can redistribute it and/or modify
  6 * it under the terms of the GNU General Public License version 2 as
  7 * published by the Free Software Foundation.
  8 */
  9/dts-v1/;
 10#include "stih418.dtsi"
 11#include <dt-bindings/gpio/gpio.h>
 12/ {
 13	model = "STiH418 B2199";
 14	compatible = "st,stih418-b2199", "st,stih418";
 15
 16	chosen {
 17		bootargs = "clk_ignore_unused";
 18		stdout-path = &sbc_serial0;
 19	};
 20
 21	memory@40000000 {
 22		device_type = "memory";
 23		reg = <0x40000000 0xc0000000>;
 24	};
 25
 26	aliases {
 27		serial0 = &sbc_serial0;
 28		ethernet0 = &ethernet0;
 29	};
 30
 31	leds {
 32		compatible = "gpio-leds";
 33		red {
 34			label = "Front Panel LED";
 35			gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
 36			linux,default-trigger = "heartbeat";
 37		};
 38		green {
 39			gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
 40			default-state = "off";
 41		};
 42	};
 43
 
 
 
 
 
 
 
 
 
 
 
 44	soc {
 45		sbc_serial0: serial@9530000 {
 46			status = "okay";
 47		};
 48
 49		i2c@9842000 {
 50			status = "okay";
 51		};
 52
 53		i2c@9843000 {
 54			status = "okay";
 55		};
 56
 57		i2c@9844000 {
 58			status = "okay";
 59		};
 60
 61		i2c@9845000 {
 62			status = "okay";
 63		};
 64
 65		i2c@9540000 {
 66			status = "okay";
 67		};
 68
 69		/* SSC11 to HDMI */
 70		i2c@9541000 {
 71			status = "okay";
 72			/* HDMI V1.3a supports Standard mode only */
 73			clock-frequency = <100000>;
 74			st,i2c-min-scl-pulse-width-us = <0>;
 75			st,i2c-min-sda-pulse-width-us = <5>;
 76		};
 77
 78		mmc1: sdhci@9080000 {
 79			status = "okay";
 80		};
 81
 82		mmc0: sdhci@9060000 {
 83			status = "okay";
 84			max-frequency = <200000000>;
 85			sd-uhs-sdr50;
 86			sd-uhs-sdr104;
 87			sd-uhs-ddr50;
 88			non-removable;
 89		};
 90
 91		miphy28lp_phy: miphy28lp@0 {
 92
 93			phy_port0: port@9b22000 {
 94				st,osc-rdy;
 95			};
 96
 97			phy_port1: port@9b2a000 {
 98				st,osc-force-ext;
 99			};
100		};
101
102		st_dwc3: dwc3@8f94000 {
103			status = "okay";
104		};
105
106		ethernet0: dwmac@9630000 {
107			st,tx-retime-src = "clkgen";
108			status = "okay";
109			phy-mode = "rgmii";
110			fixed-link = <0 1 1000 0 0>;
111		};
112	};
113};