r32.3.1 TX2 How to use tegra18x-jetson-tx2-config-template-gpio-default.dtsi

Used spread sheet to generate gpio’s.

Now what do I do with this new file.

Thanks,

cut and pasted this into a working file.dts

gpio@2200000 {
	gpio-init-names = "default";
	gpio-init-0 = <&gpio_default>;

	gpio_default: default {
		gpio-output-high = <
			TEGRA_GPIO(S, 3)
			TEGRA_GPIO(P, 3)
			>;
	};
};

I get file.dts:38.5-6 syntax error
looks like it does not like the TEGRA_GPIO from the spreadsheet.

Please put your 3 dts files to Linux_for_Tegra/kernel/pinmux/t186 and follow the README.txt file to create the cfg files.