mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 07:56:45 +07:00
0f0cfc6954
This adds support for CompuLab SBC-T3530, also known as cm-t3730: http://compulab.co.il/products/sbcs/sbc-t3530/ It seems that with the sbc-3xxx mainboard is also used on SBC-T3517 and SBC-T3730 with just a different CPU module: http://compulab.co.il/products/sbcs/sbc-t3517/ http://compulab.co.il/products/sbcs/sbc-t3730/ So let's add a common omap3-sb-t35.dtsi and then separate SoC specific omap3-sbc-t3730.dts, omap3-sbc-t3530.dts and omap3-sbc-t3517.dts. I've tested this with SBC-T3730 as that's the only one I have. At least serial, both Ethernet controllers, MMC, and wl12xx WLAN work. Note that WLAN seems to be different for SBC-T3530. And SBC-T3517 may need some changes for the EMAC Ethernet if that's used instead of the smsc911x. Cc: devicetree@vger.kernel.org Cc: Mike Rapoport <mike@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
96 lines
1.8 KiB
Plaintext
96 lines
1.8 KiB
Plaintext
/*
|
|
* Common support for CompuLab CM-T3530 and CM-T3730
|
|
*/
|
|
|
|
/ {
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x10000000>; /* 256 MB */
|
|
};
|
|
|
|
cpus {
|
|
cpu@0 {
|
|
cpu0-supply = <&vcc>;
|
|
};
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
ledb {
|
|
label = "cm-t35:green";
|
|
gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
|
|
vddvario: regulator-vddvario {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vddvario";
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd33a: regulator-vdd33a {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd33a";
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
|
|
&gpmc {
|
|
ranges = <5 0 0x2c000000 0x01000000>;
|
|
|
|
smsc1: ethernet@5,0 {
|
|
compatible = "smsc,lan9221", "smsc,lan9115";
|
|
interrupt-parent = <&gpio6>;
|
|
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
|
reg = <5 0 0xff>;
|
|
bank-width = <2>;
|
|
gpmc,mux-add-data;
|
|
gpmc,cs-on-ns = <0>;
|
|
gpmc,cs-rd-off-ns = <186>;
|
|
gpmc,cs-wr-off-ns = <186>;
|
|
gpmc,adv-on-ns = <12>;
|
|
gpmc,adv-rd-off-ns = <48>;
|
|
gpmc,adv-wr-off-ns = <48>;
|
|
gpmc,oe-on-ns = <54>;
|
|
gpmc,oe-off-ns = <168>;
|
|
gpmc,we-on-ns = <54>;
|
|
gpmc,we-off-ns = <168>;
|
|
gpmc,rd-cycle-ns = <186>;
|
|
gpmc,wr-cycle-ns = <186>;
|
|
gpmc,access-ns = <114>;
|
|
gpmc,page-burst-access-ns = <6>;
|
|
gpmc,bus-turnaround-ns = <12>;
|
|
gpmc,cycle2cycle-delay-ns = <18>;
|
|
gpmc,wr-data-mux-bus-ns = <90>;
|
|
gpmc,wr-access-ns = <186>;
|
|
gpmc,cycle2cycle-samecsen;
|
|
gpmc,cycle2cycle-diffcsen;
|
|
vddvario-supply = <&vddvario>;
|
|
vdd33a-supply = <&vdd33a>;
|
|
reg-io-width = <4>;
|
|
smsc,save-mac-address;
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
clock-frequency = <400000>;
|
|
|
|
twl: twl@48 {
|
|
reg = <0x48>;
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
interrupt-parent = <&intc>;
|
|
};
|
|
};
|
|
|
|
#include "twl4030.dtsi"
|
|
#include "twl4030_omap3.dtsi"
|
|
|
|
&i2c3 {
|
|
clock-frequency = <400000>;
|
|
};
|
|
|
|
&twl_gpio {
|
|
ti,use-leds;
|
|
};
|