Linux Audio

Check our new training course

Linux BSP upgrade and security maintenance

Need help to get security updates for your Linux BSP?
Loading...
v4.17
 
  1/*
  2 * O2D base Device Tree Source
  3 *
  4 * Copyright (C) 2012 DENX Software Engineering
  5 * Anatolij Gustschin <agust@denx.de>
  6 *
  7 * This program is free software; you can redistribute  it and/or modify it
  8 * under  the terms of  the GNU General  Public License as published by the
  9 * Free Software Foundation;  either version 2 of the  License, or (at your
 10 * option) any later version.
 11 */
 12
 13/include/ "mpc5200b.dtsi"
 14
 15&gpt0 {
 16	gpio-controller;
 17	fsl,has-wdt;
 18	fsl,wdt-on-boot = <0>;
 19};
 20&gpt1 { gpio-controller; };
 21
 22/ {
 23	model = "ifm,o2d";
 24	compatible = "ifm,o2d";
 25
 26	memory {
 27		reg = <0x00000000 0x04000000>;	// 64MB
 28	};
 29
 30	soc5200@f0000000 {
 31
 32		rtc@800 {
 33			status = "disabled";
 34		};
 35
 36		psc@2000 {		// PSC1
 37			compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
 38			#address-cells = <1>;
 39			#size-cells = <0>;
 40			cell-index = <0>;
 41
 42			spidev@0 {
 43				compatible = "spidev";
 44				spi-max-frequency = <250000>;
 45				reg = <0>;
 46			};
 47		};
 48
 49		psc@2200 {		// PSC2
 50			status = "disabled";
 51		};
 52
 53		psc@2400 {		// PSC3
 54			status = "disabled";
 55		};
 56
 57		psc@2600 {		// PSC4
 58			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 59		};
 60
 61		psc@2800 {		// PSC5
 62			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 63		};
 64
 65		psc@2c00 {		// PSC6
 66			status = "disabled";
 67		};
 68
 69		ethernet@3000 {
 70			phy-handle = <&phy0>;
 71		};
 72
 73		mdio@3000 {
 74			phy0: ethernet-phy@0 {
 75				reg = <0>;
 76			};
 77		};
 78	};
 79
 80	localbus {
 81		ranges = <0 0 0xff000000 0x01000000
 82			  3 0 0xe3000000 0x00100000>;
 83
 84		// flash device at LocalPlus Bus CS0
 85		flash@0,0 {
 86			compatible = "cfi-flash";
 87			reg = <0 0 0x01000000>;
 88			bank-width = <1>;
 89			device-width = <2>;
 90			#size-cells = <1>;
 91			#address-cells = <1>;
 92			no-unaligned-direct-access;
 93
 94			/* common layout for all machines */
 95			partition@0 {
 96				label = "u-boot";
 97				reg = <0x00000000 0x00040000>;
 98				read-only;
 99			};
100			partition@40000 {
101				label = "env";
102				reg = <0x00040000 0x00020000>;
103				read-only;
104			};
105		};
106
107		csi@3,0 {
108			compatible = "ifm,o2d-csi";
109			reg = <3 0 0x00100000>;
110			ifm,csi-clk-handle = <&gpt7>;
111			gpios = <&gpio_simple 23 0	/* imag_capture */
112				 &gpio_simple 26 0	/* imag_reset */
113				 &gpio_simple 29 0>;	/* imag_master_en */
114
115			interrupts = <1 1 2>;		/* IRQ1, edge falling */
116
117			ifm,csi-addr-bus-width = <24>;
118			ifm,csi-data-bus-width = <8>;
119			ifm,csi-wait-cycles = <0>;
120		};
121	};
122};
v5.9
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * O2D base Device Tree Source
  4 *
  5 * Copyright (C) 2012 DENX Software Engineering
  6 * Anatolij Gustschin <agust@denx.de>
 
 
 
 
 
  7 */
  8
  9/include/ "mpc5200b.dtsi"
 10
 11&gpt0 {
 12	gpio-controller;
 13	fsl,has-wdt;
 14	fsl,wdt-on-boot = <0>;
 15};
 16&gpt1 { gpio-controller; };
 17
 18/ {
 19	model = "ifm,o2d";
 20	compatible = "ifm,o2d";
 21
 22	memory {
 23		reg = <0x00000000 0x04000000>;	// 64MB
 24	};
 25
 26	soc5200@f0000000 {
 27
 28		rtc@800 {
 29			status = "disabled";
 30		};
 31
 32		psc@2000 {		// PSC1
 33			compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
 34			#address-cells = <1>;
 35			#size-cells = <0>;
 36			cell-index = <0>;
 37
 38			spidev@0 {
 39				compatible = "spidev";
 40				spi-max-frequency = <250000>;
 41				reg = <0>;
 42			};
 43		};
 44
 45		psc@2200 {		// PSC2
 46			status = "disabled";
 47		};
 48
 49		psc@2400 {		// PSC3
 50			status = "disabled";
 51		};
 52
 53		psc@2600 {		// PSC4
 54			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 55		};
 56
 57		psc@2800 {		// PSC5
 58			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 59		};
 60
 61		psc@2c00 {		// PSC6
 62			status = "disabled";
 63		};
 64
 65		ethernet@3000 {
 66			phy-handle = <&phy0>;
 67		};
 68
 69		mdio@3000 {
 70			phy0: ethernet-phy@0 {
 71				reg = <0>;
 72			};
 73		};
 74	};
 75
 76	localbus {
 77		ranges = <0 0 0xff000000 0x01000000
 78			  3 0 0xe3000000 0x00100000>;
 79
 80		// flash device at LocalPlus Bus CS0
 81		flash@0,0 {
 82			compatible = "cfi-flash";
 83			reg = <0 0 0x01000000>;
 84			bank-width = <1>;
 85			device-width = <2>;
 86			#size-cells = <1>;
 87			#address-cells = <1>;
 88			no-unaligned-direct-access;
 89
 90			/* common layout for all machines */
 91			partition@0 {
 92				label = "u-boot";
 93				reg = <0x00000000 0x00040000>;
 94				read-only;
 95			};
 96			partition@40000 {
 97				label = "env";
 98				reg = <0x00040000 0x00020000>;
 99				read-only;
100			};
101		};
102
103		csi@3,0 {
104			compatible = "ifm,o2d-csi";
105			reg = <3 0 0x00100000>;
106			ifm,csi-clk-handle = <&gpt7>;
107			gpios = <&gpio_simple 23 0	/* imag_capture */
108				 &gpio_simple 26 0	/* imag_reset */
109				 &gpio_simple 29 0>;	/* imag_master_en */
110
111			interrupts = <1 1 2>;		/* IRQ1, edge falling */
112
113			ifm,csi-addr-bus-width = <24>;
114			ifm,csi-data-bus-width = <8>;
115			ifm,csi-wait-cycles = <0>;
116		};
117	};
118};