xref: /linux/scripts/dtc/include-prefixes/arm64/microchip/sparx5_pcb125.dts (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
16694aee0SLars Povlsen// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26694aee0SLars Povlsen/*
36694aee0SLars Povlsen * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
46694aee0SLars Povlsen */
56694aee0SLars Povlsen
66694aee0SLars Povlsen/dts-v1/;
76694aee0SLars Povlsen#include "sparx5_pcb_common.dtsi"
86694aee0SLars Povlsen
96694aee0SLars Povlsen/ {
106694aee0SLars Povlsen	model = "Sparx5 PCB125 Reference Board";
116694aee0SLars Povlsen	compatible = "microchip,sparx5-pcb125", "microchip,sparx5";
126694aee0SLars Povlsen
136694aee0SLars Povlsen	memory@0 {
146694aee0SLars Povlsen		device_type = "memory";
156694aee0SLars Povlsen		reg = <0x00000000 0x00000000 0x10000000>;
166694aee0SLars Povlsen	};
176694aee0SLars Povlsen};
18623910f4SLars Povlsen
1945145406SLars Povlsen&gpio {
2045145406SLars Povlsen	emmc_pins: emmc-pins {
2145145406SLars Povlsen		/* NB: No "GPIO_35", "GPIO_36", "GPIO_37"
2245145406SLars Povlsen		 * (N/A: CARD_nDETECT, CARD_WP, CARD_LED)
2345145406SLars Povlsen		 */
2445145406SLars Povlsen		pins = "GPIO_34", "GPIO_38", "GPIO_39",
2545145406SLars Povlsen			"GPIO_40", "GPIO_41", "GPIO_42",
2645145406SLars Povlsen			"GPIO_43", "GPIO_44", "GPIO_45",
2745145406SLars Povlsen			"GPIO_46", "GPIO_47";
2845145406SLars Povlsen		drive-strength = <3>;
2945145406SLars Povlsen		function = "emmc";
3045145406SLars Povlsen	};
3145145406SLars Povlsen};
3245145406SLars Povlsen
3345145406SLars Povlsen&sdhci0 {
3445145406SLars Povlsen	status = "okay";
3545145406SLars Povlsen	bus-width = <8>;
3645145406SLars Povlsen	non-removable;
3745145406SLars Povlsen	pinctrl-0 = <&emmc_pins>;
3845145406SLars Povlsen	max-frequency = <8000000>;
3945145406SLars Povlsen	microchip,clock-delay = <10>;
4045145406SLars Povlsen};
4145145406SLars Povlsen
42ba4d1c07SLars Povlsen&spi0 {
43ba4d1c07SLars Povlsen	status = "okay";
44ba4d1c07SLars Povlsen	spi@0 {
45ba4d1c07SLars Povlsen		compatible = "spi-mux";
46ba4d1c07SLars Povlsen		mux-controls = <&mux>;
47ba4d1c07SLars Povlsen		#address-cells = <1>;
48ba4d1c07SLars Povlsen		#size-cells = <0>;
49ba4d1c07SLars Povlsen		reg = <0>;	/* CS0 */
50*402eb8ecSKrzysztof Kozlowski		flash@9 {
51ba4d1c07SLars Povlsen			compatible = "jedec,spi-nor";
52ba4d1c07SLars Povlsen			spi-max-frequency = <8000000>;
53ba4d1c07SLars Povlsen			reg = <0x9>;	/* SPI */
54ba4d1c07SLars Povlsen		};
55ba4d1c07SLars Povlsen	};
565df50128SLars Povlsen	spi@1 {
575df50128SLars Povlsen		compatible = "spi-mux";
585df50128SLars Povlsen		mux-controls = <&mux 0>;
595df50128SLars Povlsen		#address-cells = <1>;
605df50128SLars Povlsen		#size-cells = <0>;
615df50128SLars Povlsen		reg = <1>; /* CS1 */
62*402eb8ecSKrzysztof Kozlowski		flash@9 {
635df50128SLars Povlsen			compatible = "spi-nand";
645df50128SLars Povlsen			pinctrl-0 = <&cs1_pins>;
655df50128SLars Povlsen			pinctrl-names = "default";
665df50128SLars Povlsen			spi-max-frequency = <8000000>;
675df50128SLars Povlsen			reg = <0x9>;	/* SPI */
685df50128SLars Povlsen		};
695df50128SLars Povlsen	};
70ba4d1c07SLars Povlsen};
71ba4d1c07SLars Povlsen
727e1f91cbSLars Povlsen&sgpio0 {
737e1f91cbSLars Povlsen	status = "okay";
747e1f91cbSLars Povlsen	microchip,sgpio-port-ranges = <0 23>;
757e1f91cbSLars Povlsen};
767e1f91cbSLars Povlsen
77623910f4SLars Povlsen&i2c1 {
78623910f4SLars Povlsen	status = "okay";
79623910f4SLars Povlsen};
80