summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/mfd/atmel-smc.txt
blob: 26eeed373934aa75ad4501a21a160e713447006e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
* Device tree bindings for Atmel SMC (Static Memory Controller)

The SMC registers are used to configure Atmel EBI (External Bus Interface)
to interface with standard memory devices (NAND, NOR, SRAM or specialized
devices like FPGAs).

Required properties:
- compatible:		Should be one of the following
			"atmel,at91sam9260-smc", "syscon"
			"atmel,sama5d3-smc", "syscon"
- reg:			Contains offset/length value of the SMC memory
			region.

Example:

smc: smc@ffffc000 {
	compatible = "atmel,sama5d3-smc", "syscon";
	reg = <0xffffc000 0x1000>;
};
ValueTestCase(unittest.TestCase): def test_check_value_eq(self): scenario_cfg = {'options': {'operator': 'eq', 'value1': 1, 'value2': 2}} obj = CheckValue(scenario_cfg, {}) try: obj.run({}) except Exception as e: self.assertIsInstance(e, AssertionError) def test_check_value_eq_pass(self): scenario_cfg = {'options': {'operator': 'eq', 'value1': 1, 'value2': 1}} obj = CheckValue(scenario_cfg, {}) try: obj.run({}) except Exception as e: self.assertIsInstance(e, AssertionError) def test_check_value_ne(self): scenario_cfg = {'options': {'operator': 'ne', 'value1': 1, 'value2': 1}} obj = CheckValue(scenario_cfg, {}) try: obj.run({}) except Exception as e: self.assertIsInstance(e, AssertionError) def main(): unittest.main() if __name__ == '__main__': main()