/* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html */ #include <arm/imx7d-sdb.dts> #include "imx7s.dtsi" / { chosen { stdout-path = &uart1; }; memory { device_type = "memory"; reg = <0x80000000 0x40000000>; }; /* * This definition is present in the latest kernel DTS file, * and could be removed once Barebox catches up. * * Ditto for pinctrl_spi4 */ spi4 { compatible = "spi-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi4>; gpio-sck = <&gpio1 13 GPIO_ACTIVE_HIGH>; gpio-mosi = <&gpio1 9 GPIO_ACTIVE_HIGH>; cs-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; num-chipselects = <1>; #address-cells = <1>; #size-cells = <0>; extended_io: gpio-expander@0 { compatible = "fairchild,74hc595"; gpio-controller; #gpio-cells = <2>; reg = <0>; registers-number = <1>; spi-max-frequency = <100000>; }; }; }; &extended_io { q5 { gpio-hog; gpios = <5 GPIO_ACTIVE_HIGH>; output-high; line-name = "enet-rst-b"; }; }; &iomuxc { imx7d-sdb { pinctrl_spi4: spi4grp { fsl,pins = < MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x59 MX7D_PAD_GPIO1_IO12__GPIO1_IO12 0x59 MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x59 >; }; }; };